summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-20 17:06:35 +0100
committerTom Hacohen <tom@stosb.com>2015-05-20 17:06:44 +0100
commitf64c12dc1dd6b8fa24c0ec14a5978ab05a490246 (patch)
tree6de99b75c6b047795569f8c5a560c3a6e1aa2ae7
parent1c5d8d14e8b33746f1ae08a37b67cd026b228566 (diff)
Eolian cxx tests: Fix tests according to new Eo changes.
Thanks to Jenkins for spotting it, and JackDanielZ for making sure I know it's my fault.
-rw-r--r--src/tests/eolian_cxx/generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eolian_cxx/generic.c b/src/tests/eolian_cxx/generic.c
index 1de4e5b6e1..97f6b98187 100644
--- a/src/tests/eolian_cxx/generic.c
+++ b/src/tests/eolian_cxx/generic.c
@@ -21,7 +21,7 @@ typedef struct _Generic_Data Generic_Data;
21 21
22#define MY_CLASS GENERIC_CLASS 22#define MY_CLASS GENERIC_CLASS
23 23
24static void _generic_eo_base_constructor(Eo *obj, Generic_Data *pd) 24static Eo *_generic_eo_base_constructor(Eo *obj, Generic_Data *pd)
25{ 25{
26 pd->req_ctor_a_val = 0; 26 pd->req_ctor_a_val = 0;
27 pd->req_ctor_b_cb = NULL; 27 pd->req_ctor_b_cb = NULL;
@@ -29,7 +29,7 @@ static void _generic_eo_base_constructor(Eo *obj, Generic_Data *pd)
29 pd->opt_ctor_a_val = 0; 29 pd->opt_ctor_a_val = 0;
30 pd->opt_ctor_b_cb = NULL; 30 pd->opt_ctor_b_cb = NULL;
31 pd->opt_ctor_b_data = NULL; 31 pd->opt_ctor_b_data = NULL;
32 eo_do_super(obj, MY_CLASS, eo_constructor()); 32 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
33} 33}
34 34
35static void _generic_required_ctor_a(Eo *obj EINA_UNUSED, Generic_Data *pd, int value) 35static void _generic_required_ctor_a(Eo *obj EINA_UNUSED, Generic_Data *pd, int value)