ARM VERSION 1.2 Arkusz Danych Strona 133

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 176
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 132
ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-73
4.15.5 ToolConf_Lookup
This function performs a lookup on a specified tag in an
.ami
or
.dsc
file. If the tag is
found, its associated value is returned. Otherwise,
NULL
is returned.
Syntax
const char *ToolConf_Lookup(toolconf hashv, tag_t tag)
where:
hashv
is the database to perform the lookup on.
tag
is the tag to search for in the database. The tag is case-dependent.
Return
The function returns:
a
const
pointer to the tag value, if the search is successful
NULL
, if the search is not successful.
Example
const char *option = ToolConf_Lookup(db, ARMulCnf_Size);
/* ARMulCnf_Size is defined in armcnf.h */
Przeglądanie stron 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 175 176

Komentarze do niniejszej Instrukcji

Brak uwag