Commit 12917c18 authored by Marius Bozga's avatar Marius Bozga
Browse files

fix enum type generation, avoid padding issues

parent f03243a7
......@@ -117,9 +117,9 @@ define(`enum_constant',
# enum_type_decl(T,e1,... en) #
define(`enum_type_decl', `
typedef enum {
enum type_name($1) : long {
enum_constant(shift($@))
} type_name($1);
};
extern const char* if_$1_name[];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment