summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eolian_cxx')
-rw-r--r--src/tests/eolian_cxx/a.c2
-rw-r--r--src/tests/eolian_cxx/b.c2
-rw-r--r--src/tests/eolian_cxx/c.c2
-rw-r--r--src/tests/eolian_cxx/callback.c2
-rw-r--r--src/tests/eolian_cxx/d.c2
-rw-r--r--src/tests/eolian_cxx/generic.c2
-rw-r--r--src/tests/eolian_cxx/simple.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/tests/eolian_cxx/a.c b/src/tests/eolian_cxx/a.c
index 067639f..76b0278 100644
--- a/src/tests/eolian_cxx/a.c
+++ b/src/tests/eolian_cxx/a.c
@@ -16,7 +16,7 @@ typedef struct _A_Data A_Data;
16 16
17static Eo *_a_eo_base_constructor(Eo *obj EINA_UNUSED, A_Data *pd EINA_UNUSED) 17static Eo *_a_eo_base_constructor(Eo *obj EINA_UNUSED, A_Data *pd EINA_UNUSED)
18{ 18{
19 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 19 return eo_constructor(eo_super(obj, MY_CLASS));
20} 20}
21 21
22#include "a.eo.c" 22#include "a.eo.c"
diff --git a/src/tests/eolian_cxx/b.c b/src/tests/eolian_cxx/b.c
index 4efe494..ee25d77 100644
--- a/src/tests/eolian_cxx/b.c
+++ b/src/tests/eolian_cxx/b.c
@@ -17,7 +17,7 @@ typedef struct _B_Data B_Data;
17 17
18static Eo *_b_eo_base_constructor(Eo *obj EINA_UNUSED, B_Data *pd EINA_UNUSED) 18static Eo *_b_eo_base_constructor(Eo *obj EINA_UNUSED, B_Data *pd EINA_UNUSED)
19{ 19{
20 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 20 return eo_constructor(eo_super(obj, MY_CLASS));
21} 21}
22 22
23#include "b.eo.c" 23#include "b.eo.c"
diff --git a/src/tests/eolian_cxx/c.c b/src/tests/eolian_cxx/c.c
index c95e2a3..d9af17d 100644
--- a/src/tests/eolian_cxx/c.c
+++ b/src/tests/eolian_cxx/c.c
@@ -17,7 +17,7 @@ typedef struct _C_Data C_Data;
17 17
18static Eo *_c_eo_base_constructor(Eo *obj EINA_UNUSED, C_Data *pd EINA_UNUSED) 18static Eo *_c_eo_base_constructor(Eo *obj EINA_UNUSED, C_Data *pd EINA_UNUSED)
19{ 19{
20 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 20 return eo_constructor(eo_super(obj, MY_CLASS));
21} 21}
22 22
23#include "c.eo.c" 23#include "c.eo.c"
diff --git a/src/tests/eolian_cxx/callback.c b/src/tests/eolian_cxx/callback.c
index c08af89..757c5a2 100644
--- a/src/tests/eolian_cxx/callback.c
+++ b/src/tests/eolian_cxx/callback.c
@@ -28,7 +28,7 @@ static Eina_Bool _callback_callback_added(void* data EINA_UNUSED, Eo_Event2 cons
28static Eo *_callback_eo_base_constructor(Eo *obj, Callback_Data *pd EINA_UNUSED) 28static Eo *_callback_eo_base_constructor(Eo *obj, Callback_Data *pd EINA_UNUSED)
29{ 29{
30 pd->callbacks = 0; 30 pd->callbacks = 0;
31 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 31 obj = eo_constructor(eo_super(obj, MY_CLASS));
32 32
33 eo_event_callback_priority_add(EO_BASE_EVENT_CALLBACK_ADD, EO_CALLBACK_PRIORITY_DEFAULT 33 eo_event_callback_priority_add(EO_BASE_EVENT_CALLBACK_ADD, EO_CALLBACK_PRIORITY_DEFAULT
34 , &_callback_callback_added, pd); 34 , &_callback_callback_added, pd);
diff --git a/src/tests/eolian_cxx/d.c b/src/tests/eolian_cxx/d.c
index e68a29e..d3d219e 100644
--- a/src/tests/eolian_cxx/d.c
+++ b/src/tests/eolian_cxx/d.c
@@ -19,7 +19,7 @@ typedef struct _D_Data D_Data;
19 19
20static Eo *_d_eo_base_constructor(Eo *obj EINA_UNUSED, D_Data *pd EINA_UNUSED) 20static Eo *_d_eo_base_constructor(Eo *obj EINA_UNUSED, D_Data *pd EINA_UNUSED)
21{ 21{
22 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 22 return eo_constructor(eo_super(obj, MY_CLASS));
23} 23}
24 24
25#include "d.eo.c" 25#include "d.eo.c"
diff --git a/src/tests/eolian_cxx/generic.c b/src/tests/eolian_cxx/generic.c
index 81edb67..b0a32f6 100644
--- a/src/tests/eolian_cxx/generic.c
+++ b/src/tests/eolian_cxx/generic.c
@@ -28,7 +28,7 @@ static Eo *_generic_eo_base_constructor(Eo *obj, Generic_Data *pd)
28 pd->opt_ctor_a_val = 0; 28 pd->opt_ctor_a_val = 0;
29 pd->opt_ctor_b_cb = NULL; 29 pd->opt_ctor_b_cb = NULL;
30 pd->opt_ctor_b_data = NULL; 30 pd->opt_ctor_b_data = NULL;
31 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 31 return eo_constructor(eo_super(obj, MY_CLASS));
32} 32}
33 33
34static void _generic_required_ctor_a(Eo *obj EINA_UNUSED, Generic_Data *pd, int value) 34static void _generic_required_ctor_a(Eo *obj EINA_UNUSED, Generic_Data *pd, int value)
diff --git a/src/tests/eolian_cxx/simple.c b/src/tests/eolian_cxx/simple.c
index 79d4d80..924dcc5 100644
--- a/src/tests/eolian_cxx/simple.c
+++ b/src/tests/eolian_cxx/simple.c
@@ -13,7 +13,7 @@
13 13
14static Eo *_simple_eo_base_constructor(Eo *obj, void *pd EINA_UNUSED) 14static Eo *_simple_eo_base_constructor(Eo *obj, void *pd EINA_UNUSED)
15{ 15{
16 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 16 return eo_constructor(eo_super(obj, MY_CLASS));
17} 17}
18 18
19static Eina_Bool _simple_simple_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 19static Eina_Bool _simple_simple_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED)