summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-13 18:10:02 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-13 18:10:02 +0100
commit957a89168ba327c7c754af45894b9345a971561d (patch)
treeae40e5477e7d8fdba54e181d5d0d4bd11e29c47e /src/bin
parentd2365e6267c8bcd22c96176e4356328e6b6bfaef (diff)
eolian: precompute all enum field values (faster runtime, constness)
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/types_generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/types_generator.c b/src/bin/eolian/types_generator.c
index 90b62bdc4b..7e6e483406 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 Eolian_Enum_Type_Field *member; 97 const Eolian_Enum_Type_Field *member;
98 char *name; 98 char *name;
99 if (!full) 99 if (!full)
100 break; 100 break;