Motr
M0
|
#include <enum.h>
Data Fields | |
int | xev_idx |
uint64_t | xev_val |
const char * | xev_name |
int xev_idx |
The index, starting with 0, of the constant in the enum declaration.
The literally first constant within "enum { ... }" declaration gets index 0, the second—1 and so on.
The last element in the m0_xcode_enum::xe_val[] array is a sentinel with index -1.
const char* xev_name |
Symbolic constant name.
The sentinel element contains "Invalid value of enum 'NAME'." string here, where NAME is m0_xcode_enum::xe_name.