aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/eo/function_overrides/function_overrides_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/function_overrides/function_overrides_simple.c')
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.c b/src/tests/eo/function_overrides/function_overrides_simple.c
index dc5f0dd4a1..1e6ae381ae 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.c
+++ b/src/tests/eo/function_overrides/function_overrides_simple.c
@@ -34,10 +34,10 @@ _class_print(Eo_Class *klass, void *class_data EINA_UNUSED)
{
printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
Eina_Bool called = EINA_FALSE;
- eo_do_super(klass, MY_CLASS, called = simple_class_print());
+ called = eo_super_simple_class_print(MY_CLASS, klass);
fail_if(called);
- eo_do_super(klass, MY_CLASS, called = simple_class_print2());
+ called = eo_super_simple_class_print2(MY_CLASS, klass);
fail_if(called);
return EINA_TRUE;
@@ -51,10 +51,10 @@ _class_print2(Eo_Class *klass, void *class_data EINA_UNUSED)
return EINA_TRUE;
}
-EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
-EAPI EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE);
-EAPI EO_FUNC_BODY(simple_class_print, Eina_Bool, EINA_FALSE);
-EAPI EO_FUNC_BODY(simple_class_print2, Eina_Bool, EINA_FALSE);
+EAPI EO_FUNC_VOID_API_DEFINE(simple_a_set, EO_FUNC_CALL(a), int a);
+EAPI EO_FUNC_API_DEFINE(simple_a_print, Eina_Bool, EINA_FALSE, );
+EAPI EO_FUNC_API_DEFINE(simple_class_print, Eina_Bool, EINA_FALSE, );
+EAPI EO_FUNC_API_DEFINE(simple_class_print2, Eina_Bool, EINA_FALSE, );
static Eo_Op_Description op_descs[] = {
EO_OP_FUNC(simple_a_set, _a_set),