Macros
Table/Lookup macros. More...
Macros |
|
| #define | TABLE_LOOKUP (key, table) gos_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) gos_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) gos_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.