summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-19 17:46:11 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-19 17:46:11 +0100
commit1b47e2e0133623d0a22342e9fbdad57b3c4fb484 (patch)
tree1b46e960b365973ff8ac4d9e2b66297862feff18 /src/bin
parent30515bc946622dcc03322916184f36003e40b062 (diff)
eolian: use data_type consistently in the C generator
This change makes it use full class name everywhere (instead of just class name). @fix
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/impl_generator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/eolian/impl_generator.c b/src/bin/eolian/impl_generator.c
index 3c0864d1d8..75f1266044 100644
--- a/src/bin/eolian/impl_generator.c
+++ b/src/bin/eolian/impl_generator.c
@@ -216,7 +216,6 @@ impl_source_generate(const Eolian_Class *class, Eina_Strbuf *buffer)
216 Eina_Iterator *itr; 216 Eina_Iterator *itr;
217 const Eolian_Function *foo; 217 const Eolian_Function *foo;
218 Eina_Strbuf *begin = eina_strbuf_new(); 218 Eina_Strbuf *begin = eina_strbuf_new();
219 const char *class_name = eolian_class_name_get(class);
220 char core_incl[PATH_MAX]; 219 char core_incl[PATH_MAX];
221 220
222 _class_env_create(class, NULL, &class_env); 221 _class_env_create(class, NULL, &class_env);
@@ -241,7 +240,7 @@ impl_source_generate(const Eolian_Class *class, Eina_Strbuf *buffer)
241 eina_strbuf_append_printf(data_type_buf, "%s", data_type); 240 eina_strbuf_append_printf(data_type_buf, "%s", data_type);
242 } 241 }
243 else 242 else
244 eina_strbuf_append_printf(data_type_buf, "%s_Data", class_name); 243 eina_strbuf_append_printf(data_type_buf, "%s_Data", class_env.full_classname);
245 244
246 /* Definition of the structure */ 245 /* Definition of the structure */
247 const char *data_type_str = eina_strbuf_string_get(data_type_buf); 246 const char *data_type_str = eina_strbuf_string_get(data_type_buf);