summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 17:18:02 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 17:18:02 +0100
commitaccdd50f50e18e5d2b3880f8ea49f2ebc123b7d8 (patch)
tree0466a5f5e86b74dcacada0e8481dd7da73458fd2 /src/bin/eolian/eo_generator.c
parent52e68f986e92bef0e72565b86ef739653fcfb2da (diff)
eolian: refactoring step five
Move from all instances of Eolian_Type to Eolian_Type*.
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/eo_generator.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 29be0cd658..397af3fca1 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -89,7 +89,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function func, Eolian_Funct
89 char descname[0xFF]; 89 char descname[0xFF];
90 char *tmpstr = malloc(0x1FF); 90 char *tmpstr = malloc(0x1FF);
91 Eina_Bool var_as_ret = EINA_FALSE; 91 Eina_Bool var_as_ret = EINA_FALSE;
92 Eolian_Type rettypet = NULL; 92 Eolian_Type *rettypet = NULL;
93 const char *rettype = NULL; 93 const char *rettype = NULL;
94 Eina_Bool ret_const = EINA_FALSE; 94 Eina_Bool ret_const = EINA_FALSE;
95 Eolian_Function_Scope scope = eolian_function_scope_get(func); 95 Eolian_Function_Scope scope = eolian_function_scope_get(func);
@@ -152,7 +152,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function func, Eolian_Funct
152 152
153 EINA_LIST_FOREACH(eolian_property_keys_list_get(func), l, data) 153 EINA_LIST_FOREACH(eolian_property_keys_list_get(func), l, data)
154 { 154 {
155 Eolian_Type ptypet; 155 Eolian_Type *ptypet;
156 const char *pname; 156 const char *pname;
157 const char *ptype; 157 const char *ptype;
158 const char *pdesc = NULL; 158 const char *pdesc = NULL;
@@ -171,7 +171,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function func, Eolian_Funct
171 { 171 {
172 EINA_LIST_FOREACH(eolian_parameters_list_get(func), l, data) 172 EINA_LIST_FOREACH(eolian_parameters_list_get(func), l, data)
173 { 173 {
174 Eolian_Type ptypet; 174 Eolian_Type *ptypet;
175 const char *pname; 175 const char *pname;
176 const char *ptype; 176 const char *ptype;
177 const char *pdesc; 177 const char *pdesc;
@@ -331,7 +331,7 @@ eo_bind_func_generate(const Eolian_Class *class, Eolian_Function funcid, Eolian_
331 _eolian_class_func_vars func_env; 331 _eolian_class_func_vars func_env;
332 const char *suffix = ""; 332 const char *suffix = "";
333 Eina_Bool var_as_ret = EINA_FALSE; 333 Eina_Bool var_as_ret = EINA_FALSE;
334 Eolian_Type rettypet = NULL; 334 Eolian_Type *rettypet = NULL;
335 const char *rettype = NULL; 335 const char *rettype = NULL;
336 const char *retname = NULL; 336 const char *retname = NULL;
337 Eina_Bool ret_const = EINA_FALSE; 337 Eina_Bool ret_const = EINA_FALSE;
@@ -373,7 +373,7 @@ eo_bind_func_generate(const Eolian_Class *class, Eolian_Function funcid, Eolian_
373 373
374 EINA_LIST_FOREACH(eolian_property_keys_list_get(funcid), l, data) 374 EINA_LIST_FOREACH(eolian_property_keys_list_get(funcid), l, data)
375 { 375 {
376 Eolian_Type ptypet; 376 Eolian_Type *ptypet;
377 const char *pname; 377 const char *pname;
378 const char *ptype; 378 const char *ptype;
379 eolian_parameter_information_get((Eolian_Function_Parameter*)data, NULL, &ptypet, &pname, NULL); 379 eolian_parameter_information_get((Eolian_Function_Parameter*)data, NULL, &ptypet, &pname, NULL);
@@ -392,7 +392,7 @@ eo_bind_func_generate(const Eolian_Class *class, Eolian_Function funcid, Eolian_
392 { 392 {
393 EINA_LIST_FOREACH(eolian_parameters_list_get(funcid), l, data) 393 EINA_LIST_FOREACH(eolian_parameters_list_get(funcid), l, data)
394 { 394 {
395 Eolian_Type ptypet; 395 Eolian_Type *ptypet;
396 const char *pname; 396 const char *pname;
397 const char *ptype; 397 const char *ptype;
398 Eolian_Parameter_Dir pdir; 398 Eolian_Parameter_Dir pdir;