summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo_generator.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-08-07 15:49:03 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-08-07 16:06:22 +0300
commit99888ceaec4641113eeb5be9678a27dc6202b66b (patch)
tree54c2ca8dfb3abe26e465ce2efff2b36a713c4554 /src/bin/eolian/eo_generator.c
parentba7ea64d9749edfa3080597e51db0cda31e830fe (diff)
Eolian/Generator: fix generation of class functions.
The generation for legacy was missing. The patch removes too the EINA_UNUSED flag for static functions data.
Diffstat (limited to 'src/bin/eolian/eo_generator.c')
-rw-r--r--src/bin/eolian/eo_generator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 65690d192d..2d5f7deb73 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -494,8 +494,6 @@ eo_bind_func_generate(const Eolian_Class *class, const Eolian_Function *funcid,
494 if (need_implementation) 494 if (need_implementation)
495 { 495 {
496 Eina_Bool is_cf = eolian_function_is_class(funcid); 496 Eina_Bool is_cf = eolian_function_is_class(funcid);
497 if (is_cf)
498 eina_strbuf_append(full_params, " EINA_UNUSED");
499 eina_strbuf_replace_all(fbody, "@#full_params", eina_strbuf_string_get(full_params)); 497 eina_strbuf_replace_all(fbody, "@#full_params", eina_strbuf_string_get(full_params));
500 const char *data_type = eolian_class_data_type_get(class); 498 const char *data_type = eolian_class_data_type_get(class);
501 if (is_cf || (data_type && !strcmp(data_type, "null"))) 499 if (is_cf || (data_type && !strcmp(data_type, "null")))