summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_class_simple.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-09 15:47:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-09 16:09:14 +0000
commit4f949a2757b6332306264d7f126b15ba7bfd37d4 (patch)
treeec3a3aacfe34b2b3e75f3fc4d85531f6f4957c9d /src/tests/eo/suite/eo_test_class_simple.c
parentdf83edaeb6b10324868f28e8f1910147ba22e5e5 (diff)
Automatic migration to the new eo_add syntax.
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, 2 insertions, 1 deletions
diff --git a/src/tests/eo/suite/eo_test_class_simple.c b/src/tests/eo/suite/eo_test_class_simple.c
index 224e80a290..ef5d8e9e0c 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -54,7 +54,8 @@ 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 return eo_add(SIMPLE_CLASS, obj); 57 Eo *ret = NULL;
58 return eo_add(&ret, SIMPLE_CLASS, obj);
58} 59}
59 60
60EO_VOID_FUNC_BODYV(simple_recursive, EO_FUNC_CALL(n), int n); 61EO_VOID_FUNC_BODYV(simple_recursive, EO_FUNC_CALL(n), int n);