summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-01 18:06:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commitf21ade6123b9053fca8d1632644c48525a99d6e0 (patch)
treec5eb0445f471d21365a7a5a7b0ec7d279c11b398 /src/tests/eolian_cxx
parent3faf3f3fc68a839f06b311c35ba020cb25e7c9c4 (diff)
downloadefl-f21ade6123b9053fca8d1632644c48525a99d6e0.tar.gz
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
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 067639f7de..76b0278589 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;
static Eo *_a_eo_base_constructor(Eo *obj EINA_UNUSED, A_Data *pd EINA_UNUSED)
{
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ return eo_constructor(eo_super(obj, MY_CLASS));
}
#include "a.eo.c"
diff --git a/src/tests/eolian_cxx/b.c b/src/tests/eolian_cxx/b.c
index 4efe49491b..ee25d77966 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;
static Eo *_b_eo_base_constructor(Eo *obj EINA_UNUSED, B_Data *pd EINA_UNUSED)
{
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ return eo_constructor(eo_super(obj, MY_CLASS));
}
#include "b.eo.c"
diff --git a/src/tests/eolian_cxx/c.c b/src/tests/eolian_cxx/c.c
index c95e2a364c..d9af17de12 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;
static Eo *_c_eo_base_constructor(Eo *obj EINA_UNUSED, C_Data *pd EINA_UNUSED)
{
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ return eo_constructor(eo_super(obj, MY_CLASS));
}
#include "c.eo.c"
diff --git a/src/tests/eolian_cxx/callback.c b/src/tests/eolian_cxx/callback.c
index c08af8915d..757c5a29c6 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
static Eo *_callback_eo_base_constructor(Eo *obj, Callback_Data *pd EINA_UNUSED)
{
pd->callbacks = 0;
- obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ obj = eo_constructor(eo_super(obj, MY_CLASS));
eo_event_callback_priority_add(EO_BASE_EVENT_CALLBACK_ADD, EO_CALLBACK_PRIORITY_DEFAULT
, &_callback_callback_added, pd);
diff --git a/src/tests/eolian_cxx/d.c b/src/tests/eolian_cxx/d.c
index e68a29ecc2..d3d219e5c4 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;
static Eo *_d_eo_base_constructor(Eo *obj EINA_UNUSED, D_Data *pd EINA_UNUSED)
{
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ return eo_constructor(eo_super(obj, MY_CLASS));
}
#include "d.eo.c"
diff --git a/src/tests/eolian_cxx/generic.c b/src/tests/eolian_cxx/generic.c
index 81edb672d0..b0a32f6741 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)
pd->opt_ctor_a_val = 0;
pd->opt_ctor_b_cb = NULL;
pd->opt_ctor_b_data = NULL;
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ return eo_constructor(eo_super(obj, MY_CLASS));
}
static 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 79d4d80c10..924dcc57bc 100644
--- a/src/tests/eolian_cxx/simple.c
+++ b/src/tests/eolian_cxx/simple.c
@@ -13,7 +13,7 @@
static Eo *_simple_eo_base_constructor(Eo *obj, void *pd EINA_UNUSED)
{
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ return eo_constructor(eo_super(obj, MY_CLASS));
}
static Eina_Bool _simple_simple_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED)