summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js/eolian_js_test_test_object_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eolian_js/eolian_js_test_test_object_impl.c')
-rw-r--r--src/tests/eolian_js/eolian_js_test_test_object_impl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eolian_js/eolian_js_test_test_object_impl.c b/src/tests/eolian_js/eolian_js_test_test_object_impl.c
index 6f35b7e..89e9d47 100644
--- a/src/tests/eolian_js/eolian_js_test_test_object_impl.c
+++ b/src/tests/eolian_js/eolian_js_test_test_object_impl.c
@@ -29,7 +29,7 @@ _test_object_eo_base_constructor(Eo* obj, Test_Object_Data *pd)
29 fprintf(stdout, "_test_object_eo_base_constructor\n"); 29 fprintf(stdout, "_test_object_eo_base_constructor\n");
30 30
31 pd->a = 0; 31 pd->a = 0;
32 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 32 return eo_constructor(eo_super(obj, MY_CLASS));
33} 33}
34 34
35EOLIAN static Eo * 35EOLIAN static Eo *
@@ -37,14 +37,14 @@ _test_object_eo_base_finalize(Eo *obj, Test_Object_Data *pd EINA_UNUSED)
37{ 37{
38 fprintf(stdout, "_test_object_eo_base_finalize\n"); 38 fprintf(stdout, "_test_object_eo_base_finalize\n");
39 39
40 return eo_do_super_ret(obj, MY_CLASS, obj, eo_finalize()); 40 return eo_finalize(eo_super(obj, MY_CLASS));
41} 41}
42 42
43EOLIAN static void 43EOLIAN static void
44_test_object_eo_base_destructor(Eo* obj, Test_Object_Data *pd EINA_UNUSED) 44_test_object_eo_base_destructor(Eo* obj, Test_Object_Data *pd EINA_UNUSED)
45{ 45{
46 fprintf(stdout, "_test_object_eo_base_destructor\n"); 46 fprintf(stdout, "_test_object_eo_base_destructor\n");
47 eo_do_super(obj, MY_CLASS, eo_destructor()); 47 eo_destructor(eo_super(obj, MY_CLASS));
48} 48}
49 49
50 50
@@ -175,9 +175,9 @@ _test_object_call_event(Eo* obj, Test_Object_Data *pd EINA_UNUSED)
175{ 175{
176 fprintf(stderr, "_test_object_event_call()\n"); fflush(stderr); 176 fprintf(stderr, "_test_object_event_call()\n"); fflush(stderr);
177 static Test_Struct_Ex s = {42, TEST_ENUM_EX_THIRD}; 177 static Test_Struct_Ex s = {42, TEST_ENUM_EX_THIRD};
178 eo_do(obj, eo_event_callback_call(TEST_OBJECT_EVENT_TEST, NULL)); 178 eo_event_callback_call(obj, TEST_OBJECT_EVENT_TEST, NULL);
179 eo_do(obj, eo_event_callback_call(TEST_OBJECT_EVENT_TEST_STRUCTARG, &s)); 179 eo_event_callback_call(obj, TEST_OBJECT_EVENT_TEST_STRUCTARG, &s);
180 eo_do(obj, eo_event_callback_call(TEST_OBJECT_EVENT_TEST_STRINGARG, "foo")); 180 eo_event_callback_call(obj, TEST_OBJECT_EVENT_TEST_STRINGARG, "foo");
181} 181}
182 182
183EOLIAN static char * 183EOLIAN static char *