23 #define NAMEMAP_ERR UINT_MAX
Utility macros to handle different features and behavior in different compilers.
const char * namemap_fmt_name(const namemap_t *map, unsigned id)
const char * namemap_get_name(const namemap_t *map, unsigned id)
unsigned namemap_get_id(const namemap_t *map, const char *name)
size_t namemap_get_size(const namemap_t *map)
void namemap_init(namemap_t *map)
void namemap_clear(namemap_t *map)
unsigned namemap_get_or_create_id(namemap_t *map, const char *name)