diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-08-01 13:48:41 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-08-01 13:48:41 +0200 |
commit | 216663989d1cbc2fcbaa9da67400a321adf1a225 (patch) | |
tree | cc8a54bec211b3079cf896f5ac1e91862b773edd | |
parent | 187f70e48e1ab1e660a143b9ad240d4784a4ba68 (diff) | |
download | efl-216663989d1cbc2fcbaa9da67400a321adf1a225.tar.gz |
eo2: adapt tests to new EO2_FUNC macros
-rw-r--r-- | eo2test/eo2-bench.c | 2 | ||||
-rw-r--r-- | eo2test/eo2_inherit.c | 2 | ||||
-rw-r--r-- | eo2test/eo2_simple.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/eo2test/eo2-bench.c b/eo2test/eo2-bench.c index 976dd5e4a8..f0b585d476 100644 --- a/eo2test/eo2-bench.c +++ b/eo2test/eo2-bench.c @@ -184,7 +184,7 @@ virtual_test() a = 0; eo2_obj = eo2_add_custom(EO2_SIMPLE_CLASS, NULL, eo2_simple_constructor(66)); eo2_do(eo2_obj, a = eo2_virtual(10); ); - check(a, 0); + check(a, -1); eo_del(eo2_obj); a = 0; diff --git a/eo2test/eo2_inherit.c b/eo2test/eo2_inherit.c index 87969ec3e9..33cf7b4fa3 100644 --- a/eo2test/eo2_inherit.c +++ b/eo2test/eo2_inherit.c @@ -23,7 +23,7 @@ _get(Eo *objid EINA_UNUSED, void *obj_data) return data->y; } -EAPI EO2_FUNC_BODY(eo2_inherit_get, int, 0); +EAPI EO2_FUNC_BODY(eo2_inherit_get, int, -2); static void _class_hello(const Eo_Class *klass, int a) diff --git a/eo2test/eo2_simple.c b/eo2test/eo2_simple.c index e2bb873baf..3ec1fad07c 100644 --- a/eo2test/eo2_simple.c +++ b/eo2test/eo2_simple.c @@ -22,7 +22,7 @@ _get(Eo *objid EINA_UNUSED, void *obj_data) return data->x; } -EAPI EO2_FUNC_BODY(eo2_get, int, 0); +EAPI EO2_FUNC_BODY(eo2_get, int, -1); static void _set(Eo *objid EINA_UNUSED, void *obj_data, int x) @@ -39,7 +39,7 @@ _class_hello(const Eo_Class *klass, int a) } EAPI EO2_VOID_CLASS_FUNC_BODYV(eo2_class_hello, EO2_CLASS_FUNC_CALL(a), int a); -EAPI EO2_FUNC_BODYV(eo2_virtual, int, EO2_FUNC_CALL(x), 0, int x); +EAPI EO2_FUNC_BODYV(eo2_virtual, int, -1, EO2_FUNC_CALL(x), int x); static void _constructor(Eo *obj, void *obj_data, int x) |