summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_class_simple.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-11 12:24:08 +0000
committerTom Hacohen <tom@stosb.com>2016-03-11 12:29:03 +0000
commitf24210caac8d50940ddef858994571be59179c10 (patch)
treecfc8b264e77abbab9827517d1827f9a4fb4dcd50 /src/tests/eo/suite/eo_test_class_simple.c
parent9fdac37187e35f45570c3808011d0283c658652d (diff)
Revert "Automatic migration to the new eo_add syntax."
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
Diffstat (limited to 'src/tests/eo/suite/eo_test_class_simple.c')
-rw-r--r--src/tests/eo/suite/eo_test_class_simple.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/eo/suite/eo_test_class_simple.c b/src/tests/eo/suite/eo_test_class_simple.c
index ef5d8e9e0c..224e80a290 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -54,8 +54,7 @@ static Eo *
54_part_get(Eo *obj, void *class_data EINA_UNUSED, const char *name EINA_UNUSED) 54_part_get(Eo *obj, void *class_data EINA_UNUSED, const char *name EINA_UNUSED)
55{ 55{
56 /* A normal part get will do something saner, we just create objects. */ 56 /* A normal part get will do something saner, we just create objects. */
57 Eo *ret = NULL; 57 return eo_add(SIMPLE_CLASS, obj);
58 return eo_add(&ret, SIMPLE_CLASS, obj);
59} 58}
60 59
61EO_VOID_FUNC_BODYV(simple_recursive, EO_FUNC_CALL(n), int n); 60EO_VOID_FUNC_BODYV(simple_recursive, EO_FUNC_CALL(n), int n);