summaryrefslogtreecommitdiff
path: root/src/bin/eolian/legacy_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-20 17:03:14 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-20 17:03:37 +0100
commit5c199857c911c8b301b694ae9311685ae1ff121d (patch)
tree9e8dad9be8e48f80bd369d8197679d8e71bd171c /src/bin/eolian/legacy_generator.c
parentc02bab4149b2f3984d0f7a0637003d2bcd62fabd (diff)
eolian: distinguish between get/set for property keys/values retrieval
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/legacy_generator.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/eolian/legacy_generator.c b/src/bin/eolian/legacy_generator.c
index 20af6d5f0e..b4f31f1270 100644
--- a/src/bin/eolian/legacy_generator.c
+++ b/src/bin/eolian/legacy_generator.c
@@ -72,7 +72,7 @@ _eapi_decl_func_generate(const Eolian_Class *class, const Eolian_Function *funci
72 add_star = EINA_TRUE; 72 add_star = EINA_TRUE;
73 if (!rettypet) 73 if (!rettypet)
74 { 74 {
75 itr = eolian_property_values_get(funcid); 75 itr = eolian_property_values_get(funcid, ftype);
76 /* We want to check if there is only one parameter */ 76 /* We want to check if there is only one parameter */
77 if (eina_iterator_next(itr, &data) && !eina_iterator_next(itr, &data2)) 77 if (eina_iterator_next(itr, &data) && !eina_iterator_next(itr, &data2))
78 { 78 {
@@ -114,7 +114,7 @@ _eapi_decl_func_generate(const Eolian_Class *class, const Eolian_Function *funci
114 eina_strbuf_replace_all(fbody, "@#desc", eina_strbuf_string_get(linedesc)); 114 eina_strbuf_replace_all(fbody, "@#desc", eina_strbuf_string_get(linedesc));
115 eina_strbuf_free(linedesc); 115 eina_strbuf_free(linedesc);
116 116
117 itr = eolian_property_keys_get(funcid); 117 itr = eolian_property_keys_get(funcid, ftype);
118 EINA_ITERATOR_FOREACH(itr, data) 118 EINA_ITERATOR_FOREACH(itr, data)
119 { 119 {
120 Eolian_Function_Parameter *param = data; 120 Eolian_Function_Parameter *param = data;
@@ -143,7 +143,7 @@ _eapi_decl_func_generate(const Eolian_Class *class, const Eolian_Function *funci
143 eina_iterator_free(itr); 143 eina_iterator_free(itr);
144 if (!var_as_ret) 144 if (!var_as_ret)
145 { 145 {
146 itr = is_prop ? eolian_property_values_get(funcid) : eolian_function_parameters_get(funcid); 146 itr = is_prop ? eolian_property_values_get(funcid, ftype) : eolian_function_parameters_get(funcid);
147 EINA_ITERATOR_FOREACH(itr, data) 147 EINA_ITERATOR_FOREACH(itr, data)
148 { 148 {
149 Eolian_Function_Parameter *param = data; 149 Eolian_Function_Parameter *param = data;
@@ -242,7 +242,7 @@ _eapi_func_generate(const Eolian_Class *class, const Eolian_Function *funcid, Eo
242 add_star = EINA_TRUE; 242 add_star = EINA_TRUE;
243 if (!rettypet) 243 if (!rettypet)
244 { 244 {
245 itr = eolian_property_values_get(funcid); 245 itr = eolian_property_values_get(funcid, ftype);
246 /* We want to check if there is only one parameter */ 246 /* We want to check if there is only one parameter */
247 if (eina_iterator_next(itr, &data) && !eina_iterator_next(itr, &data2)) 247 if (eina_iterator_next(itr, &data) && !eina_iterator_next(itr, &data2))
248 { 248 {
@@ -286,7 +286,7 @@ _eapi_func_generate(const Eolian_Class *class, const Eolian_Function *funcid, Eo
286 286
287 tmpstr[0] = '\0'; 287 tmpstr[0] = '\0';
288 288
289 itr = eolian_property_keys_get(funcid); 289 itr = eolian_property_keys_get(funcid, ftype);
290 EINA_ITERATOR_FOREACH(itr, data) 290 EINA_ITERATOR_FOREACH(itr, data)
291 { 291 {
292 Eolian_Function_Parameter *param = data; 292 Eolian_Function_Parameter *param = data;
@@ -304,7 +304,7 @@ _eapi_func_generate(const Eolian_Class *class, const Eolian_Function *funcid, Eo
304 eina_iterator_free(itr); 304 eina_iterator_free(itr);
305 if (!var_as_ret) 305 if (!var_as_ret)
306 { 306 {
307 itr = is_prop ? eolian_property_values_get(funcid) : eolian_function_parameters_get(funcid); 307 itr = is_prop ? eolian_property_values_get(funcid, ftype) : eolian_function_parameters_get(funcid);
308 EINA_ITERATOR_FOREACH(itr, data) 308 EINA_ITERATOR_FOREACH(itr, data)
309 { 309 {
310 Eolian_Function_Parameter *param = data; 310 Eolian_Function_Parameter *param = data;