summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-13 17:56:18 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-13 17:57:03 +0100
commitd2365e6267c8bcd22c96176e4356328e6b6bfaef (patch)
tree2990b6dc6cacd3fbf72751cc4ea6c05d1f6f7163 /src/bin
parent333e8766295dee32dcbd1b5f2a2b9f2d3d941b44 (diff)
eolian: allow forced retrieval of enum field values
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/types_generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian/types_generator.c b/src/bin/eolian/types_generator.c
index e323950f24..90b62bdc4b 100644
--- a/src/bin/eolian/types_generator.c
+++ b/src/bin/eolian/types_generator.c
@@ -94,7 +94,7 @@ _type_generate(const Eolian_Type *tp, Eina_Bool full)
94 } 94 }
95 case EOLIAN_TYPE_ENUM: 95 case EOLIAN_TYPE_ENUM:
96 { 96 {
97 const Eolian_Enum_Type_Field *member; 97 Eolian_Enum_Type_Field *member;
98 char *name; 98 char *name;
99 if (!full) 99 if (!full)
100 break; 100 break;
@@ -112,7 +112,7 @@ _type_generate(const Eolian_Type *tp, Eina_Bool full)
112 while (next) 112 while (next)
113 { 113 {
114 const char *desc = eolian_type_enum_field_description_get(member); 114 const char *desc = eolian_type_enum_field_description_get(member);
115 const Eolian_Expression *value = eolian_type_enum_field_value_get(member); 115 const Eolian_Expression *value = eolian_type_enum_field_value_get(member, EINA_FALSE);
116 char *memb_u = strdup(eolian_type_enum_field_name_get(member)); 116 char *memb_u = strdup(eolian_type_enum_field_name_get(member));
117 eina_str_toupper(&memb_u); 117 eina_str_toupper(&memb_u);
118 eina_strbuf_reset(membuf); 118 eina_strbuf_reset(membuf);