summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/eo1_generator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index d294504038..36cb4fb406 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -369,7 +369,7 @@ eo1_bind_func_generate(const char *classname, Eolian_Function funcid, Eolian_Fun
369 Eina_Bool ret_const = EINA_FALSE; 369 Eina_Bool ret_const = EINA_FALSE;
370 Eina_Bool add_star = EINA_FALSE; 370 Eina_Bool add_star = EINA_FALSE;
371 371
372 if (!impl_name && eolian_function_is_virtual_pure(funcid)) return EINA_TRUE; 372 if (!impl_name && eolian_function_is_virtual_pure(funcid, ftype)) return EINA_TRUE;
373 Eina_Strbuf *fbody = eina_strbuf_new(); 373 Eina_Strbuf *fbody = eina_strbuf_new();
374 Eina_Strbuf *va_args = eina_strbuf_new(); 374 Eina_Strbuf *va_args = eina_strbuf_new();
375 Eina_Strbuf *params = eina_strbuf_new(); /* only variables names */ 375 Eina_Strbuf *params = eina_strbuf_new(); /* only variables names */
@@ -759,7 +759,7 @@ eo1_source_end_generate(const char *classname, Eina_Strbuf *buf)
759 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf)); 759 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf));
760 free(desc); 760 free(desc);
761 761
762 if (!eolian_function_is_virtual_pure(fn)) 762 if (!eolian_function_is_virtual_pure(fn, SET))
763 eo1_eo_func_desc_generate(classname, NULL, tmpstr, tmpbuf); 763 eo1_eo_func_desc_generate(classname, NULL, tmpstr, tmpbuf);
764 else 764 else
765 eina_strbuf_reset(tmpbuf); 765 eina_strbuf_reset(tmpbuf);
@@ -774,7 +774,7 @@ eo1_source_end_generate(const char *classname, Eina_Strbuf *buf)
774 free(desc); 774 free(desc);
775 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf)); 775 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf));
776 776
777 if (!eolian_function_is_virtual_pure(fn)) 777 if (!eolian_function_is_virtual_pure(fn, GET))
778 eo1_eo_func_desc_generate(classname, NULL, tmpstr, tmpbuf); 778 eo1_eo_func_desc_generate(classname, NULL, tmpstr, tmpbuf);
779 else 779 else
780 eina_strbuf_reset(tmpbuf); 780 eina_strbuf_reset(tmpbuf);
@@ -792,7 +792,7 @@ eo1_source_end_generate(const char *classname, Eina_Strbuf *buf)
792 free(desc); 792 free(desc);
793 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf)); 793 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf));
794 794
795 if (!eolian_function_is_virtual_pure(fn)) 795 if (!eolian_function_is_virtual_pure(fn, METHOD_FUNC))
796 eo1_eo_func_desc_generate(classname, NULL, funcname, tmpbuf); 796 eo1_eo_func_desc_generate(classname, NULL, funcname, tmpbuf);
797 else 797 else
798 eina_strbuf_reset(tmpbuf); 798 eina_strbuf_reset(tmpbuf);