summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-07-26 07:48:46 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-07-26 07:48:46 +0300
commit3c016b4040121436d5363b8ededd71aabb80820b (patch)
tree34a537a7da6295589553f6a545c3ef6002d7e6e5
parentb918b35446f290dfdce9e802ee71dbbecc453e16 (diff)
Fix compilation due to Eolian changes
-rw-r--r--src/bin/ea_cgen/ea_cgen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bin/ea_cgen/ea_cgen.c b/src/bin/ea_cgen/ea_cgen.c
index 232045a..16988e9 100644
--- a/src/bin/ea_cgen/ea_cgen.c
+++ b/src/bin/ea_cgen/ea_cgen.c
@@ -260,10 +260,9 @@ _prop_apply(const Ea *ea_obj, const Ea *ea_func, Object_Context *obj_ctx)
260 Eolian_Function_Type ftype = eolian_function_type_get(func); 260 Eolian_Function_Type ftype = eolian_function_type_get(func);
261 const Ea_Function_Parameter *ea_par; 261 const Ea_Function_Parameter *ea_par;
262 262
263 eina_strbuf_append_printf(buf, " eo_do(%s, %s%s(", 263 eina_strbuf_append_printf(buf, " eo_do(%s, %s(",
264 ea_object_name_get(ea_obj), 264 ea_object_name_get(ea_obj),
265 eolian_function_full_c_name_get(func), 265 eolian_function_full_c_name_get(func, ftype == EOLIAN_PROPERTY ? EOLIAN_PROP_SET : ftype, EINA_FALSE));
266 ftype == EOLIAN_PROPERTY || ftype == EOLIAN_PROP_SET ? "_set" : "");
267 if (obj_ctx->inside_cb) ADD_TO_LIST(session_ctx.global_entities, ea_obj); 266 if (obj_ctx->inside_cb) ADD_TO_LIST(session_ctx.global_entities, ea_obj);
268 EINA_ITERATOR_FOREACH(pitr, ea_par) 267 EINA_ITERATOR_FOREACH(pitr, ea_par)
269 { 268 {
@@ -560,7 +559,9 @@ _obj_create(const Ea *ea_obj, Object_Context *obj_ctx)
560 Ea_Function_Parameter *ea_par; 559 Ea_Function_Parameter *ea_par;
561 Eina_Iterator *pitr = ea_function_parameters_get(ea_func); 560 Eina_Iterator *pitr = ea_function_parameters_get(ea_func);
562 const Eolian_Function *func = ea_function_func_get(ea_func); 561 const Eolian_Function *func = ea_function_func_get(ea_func);
563 eina_strbuf_append_printf(ctor_buf, "%s(", eolian_function_full_c_name_get(func)); 562 Eolian_Function_Type ftype = eolian_function_type_get(func);
563 eina_strbuf_append_printf(ctor_buf, "%s(",
564 eolian_function_full_c_name_get(func, ftype == EOLIAN_PROPERTY ? EOLIAN_PROP_SET : ftype, EINA_FALSE));
564 EINA_ITERATOR_FOREACH(pitr, ea_par) 565 EINA_ITERATOR_FOREACH(pitr, ea_par)
565 { 566 {
566 _param_append(ea_par, ctor_buf); 567 _param_append(ea_par, ctor_buf);