summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9dfcfc0)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
If a numeric value is encountered between < >, it represents the integer type
size used to hold the enumeration, in bits.
If a numeric value is encountered between < >, it represents the integer type
size used to hold the enumeration, in bits.
-enum <integer_type OR size> name {
+enum name <integer_type OR size> {
string = start_value1 ... end_value1,
"other string" = start_value2 ... end_value2,
yet_another_string, /* will be assigned to end_value2 + 1 */
string = start_value1 ... end_value1,
"other string" = start_value2 ... end_value2,
yet_another_string, /* will be assigned to end_value2 + 1 */
If the values are omitted, the enumeration starts at 0 and increment of 1 for
each entry:
If the values are omitted, the enumeration starts at 0 and increment of 1 for
each entry:
-enum <integer_type or size> name {
+enum name <integer_type or size> {