summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_class_simple.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-02-11 16:31:52 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-02-21 11:54:09 -0800
commitb23f65291f9624827e40ebf32d5133cb1074aeb6 (patch)
tree34f7287c424413a2bf5debb2ff8601e6c7d1e00a /src/tests/eo/suite/eo_test_class_simple.c
parent56a91961ce07337fb9e73f46298415426175d25a (diff)
eo: make reflection setter able to return an error code in case of failure.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7935
Diffstat (limited to 'src/tests/eo/suite/eo_test_class_simple.c')
-rw-r--r--src/tests/eo/suite/eo_test_class_simple.c4
1 files changed, 3 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 fef3dd3ae5..f374575ee4 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -23,7 +23,7 @@ _a_set(Eo *obj EINA_UNUSED, void *class_data, int a)
23 efl_event_callback_legacy_call(obj, EV_A_CHANGED, &pd->a); 23 efl_event_callback_legacy_call(obj, EV_A_CHANGED, &pd->a);
24} 24}
25 25
26static void 26static Eina_Error
27_a_set_reflect(Eo *obj, Eina_Value value) 27_a_set_reflect(Eo *obj, Eina_Value value)
28{ 28{
29 int a; 29 int a;
@@ -31,6 +31,8 @@ _a_set_reflect(Eo *obj, Eina_Value value)
31 eina_value_int_convert(&value, &a); 31 eina_value_int_convert(&value, &a);
32 simple_a_set(obj, a); 32 simple_a_set(obj, a);
33 eina_value_flush(&value); 33 eina_value_flush(&value);
34
35 return 0;
34} 36}
35 37
36static int 38static int