librfn
An ad-hoc utility library
|
Lookup table used for the conversions. More...
#include <enum.h>
Data Fields | |
const char * | s |
int | e |
Lookup table used for the conversions.
This is normally initialized using a user supplied macro that takes advantage of both the token concatenation operator (##) and the stringize opeator (#). For example the following will produce a table to link the enumerated value NAMESPACE_PREFIX_ALPHA to the string "ALPHA" (and so on).