summaryrefslogtreecommitdiff
path: root/src/tests/eo/interface/interface_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/interface/interface_simple.c')
-rw-r--r--src/tests/eo/interface/interface_simple.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/eo/interface/interface_simple.c b/src/tests/eo/interface/interface_simple.c
index cad7f24..589274f 100644
--- a/src/tests/eo/interface/interface_simple.c
+++ b/src/tests/eo/interface/interface_simple.c
@@ -40,7 +40,8 @@ static int
40_ab_sum_get(Eo *obj, void *class_data EINA_UNUSED) 40_ab_sum_get(Eo *obj, void *class_data EINA_UNUSED)
41{ 41{
42 int a = 0, b = 0; 42 int a = 0, b = 0;
43 eo_do(obj, a = simple_a_get(), b = simple_b_get()); 43 a = simple_a_get(obj);
44 b = simple_b_get(obj);
44 printf("%s %s\n", eo_class_name_get(MY_CLASS), __func__); 45 printf("%s %s\n", eo_class_name_get(MY_CLASS), __func__);
45 return a + b; 46 return a + b;
46} 47}
@@ -49,7 +50,8 @@ static int
49_ab_sum_get2(Eo *obj, void *class_data EINA_UNUSED) 50_ab_sum_get2(Eo *obj, void *class_data EINA_UNUSED)
50{ 51{
51 int a = 0, b = 0; 52 int a = 0, b = 0;
52 eo_do(obj, a = simple_a_get(), b = simple_b_get()); 53 a = simple_a_get(obj);
54 b = simple_b_get(obj);
53 printf("%s %s\n", eo_class_name_get(MY_CLASS), __func__); 55 printf("%s %s\n", eo_class_name_get(MY_CLASS), __func__);
54 return a + b + 1; 56 return a + b + 1;
55} 57}