Skip to content
Snippets Groups Projects
Commit 12917c18 authored by Marius Bozga's avatar Marius Bozga
Browse files

fix enum type generation, avoid padding issues

parent f03243a7
No related branches found
No related tags found
No related merge requests found
......@@ -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[];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment