summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 17:01:19 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 17:01:19 +0100
commit1a4f87d3657ab735d8ce4e880794ec356af68196 (patch)
treed6a0a7edff2426c843e1b4cea460fad3f17e404f /src/bin/eolian/eo_generator.c
parentc9119b0c8801ca5e5bb15e1c65172e4f98040521 (diff)
eolian: refactoring step four
Move from all isntances of Eolian_Function_Parameter to Eolian_Function_Parameter* plus const fixes.
Diffstat (limited to 'src/bin/eolian/eo_generator.c')
-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 2dd71567a2..29be0cd658 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -106,7 +106,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function func, Eolian_Funct
106 if (eina_list_count(l) == 1) 106 if (eina_list_count(l) == 1)
107 { 107 {
108 data = eina_list_data_get(l); 108 data = eina_list_data_get(l);
109 eolian_parameter_information_get((Eolian_Function_Parameter)data, NULL, &rettypet, NULL, NULL); 109 eolian_parameter_information_get((Eolian_Function_Parameter*)data, NULL, &rettypet, NULL, NULL);
110 var_as_ret = EINA_TRUE; 110 var_as_ret = EINA_TRUE;
111 ret_const = eolian_parameter_const_attribute_get(data, EINA_TRUE); 111 ret_const = eolian_parameter_const_attribute_get(data, EINA_TRUE);
112 } 112 }
@@ -156,7 +156,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function func, Eolian_Funct
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;
159 eolian_parameter_information_get((Eolian_Function_Parameter)data, NULL, &ptypet, &pname, &pdesc); 159 eolian_parameter_information_get((Eolian_Function_Parameter*)data, NULL, &ptypet, &pname, &pdesc);
160 160
161 ptype = eolian_type_c_type_get(ptypet); 161 ptype = eolian_type_c_type_get(ptypet);
162 162
@@ -177,7 +177,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function func, Eolian_Funct
177 const char *pdesc; 177 const char *pdesc;
178 Eina_Bool add_star = EINA_FALSE; 178 Eina_Bool add_star = EINA_FALSE;
179 Eolian_Parameter_Dir pdir; 179 Eolian_Parameter_Dir pdir;
180 eolian_parameter_information_get((Eolian_Function_Parameter)data, &pdir, &ptypet, &pname, &pdesc); 180 eolian_parameter_information_get((Eolian_Function_Parameter*)data, &pdir, &ptypet, &pname, &pdesc);
181 181
182 ptype = eolian_type_c_type_get(ptypet); 182 ptype = eolian_type_c_type_get(ptypet);
183 183
@@ -357,7 +357,7 @@ eo_bind_func_generate(const Eolian_Class *class, Eolian_Function funcid, Eolian_
357 if (eina_list_count(l) == 1) 357 if (eina_list_count(l) == 1)
358 { 358 {
359 void* data = eina_list_data_get(l); 359 void* data = eina_list_data_get(l);
360 eolian_parameter_information_get((Eolian_Function_Parameter)data, NULL, &rettypet, &retname, NULL); 360 eolian_parameter_information_get((Eolian_Function_Parameter*)data, NULL, &rettypet, &retname, NULL);
361 var_as_ret = EINA_TRUE; 361 var_as_ret = EINA_TRUE;
362 ret_const = eolian_parameter_const_attribute_get(data, EINA_TRUE); 362 ret_const = eolian_parameter_const_attribute_get(data, EINA_TRUE);
363 } 363 }
@@ -376,7 +376,7 @@ eo_bind_func_generate(const Eolian_Class *class, Eolian_Function funcid, Eolian_
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);
380 380
381 ptype = eolian_type_c_type_get(ptypet); 381 ptype = eolian_type_c_type_get(ptypet);
382 382
@@ -396,7 +396,7 @@ eo_bind_func_generate(const Eolian_Class *class, Eolian_Function funcid, Eolian_
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;
399 eolian_parameter_information_get((Eolian_Function_Parameter)data, &pdir, &ptypet, &pname, NULL); 399 eolian_parameter_information_get((Eolian_Function_Parameter*)data, &pdir, &ptypet, &pname, NULL);
400 400
401 ptype = eolian_type_c_type_get(ptypet); 401 ptype = eolian_type_c_type_get(ptypet);
402 402