Macros
Table/Lookup macros. More...
Macros | |
#define | TABLE_LOOKUP(key, table) table_lookup(key, table, ARRAY_COUNT(table), sizeof *(table)) |
Using binary search, find entry with key in given static table. | |
#define | TABLE_REVERSE_LOOKUP(value, table) table_reverse_lookup((unsigned int)value, table, ARRAY_COUNT(table), sizeof *(table)) |
Using binary search, find entry with value in given static table. | |
#define | TABLE_LOOKUP_LINEAR(key, table) table_linear_lookup(key, table, ARRAY_COUNT(table), sizeof *(table)) |
Using linear search, find entry with key in given static table. | |
Detailed Description
Table/Lookup macros.