summaryrefslogtreecommitdiff
path: root/src/tests/eo/function_overrides
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-02 14:42:46 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commit23a6b12183aa1365a6da33ab4f06bdf04b42e1e1 (patch)
tree56882ea26cd19a57a3cd9ef2584a44cb54970760 /src/tests/eo/function_overrides
parent8780da1fbdb4e06a12508bcc86023ee2d1b4e30a (diff)
Fix migration script mistakes and compilation warnings.
Mostly unused vars following the removal of eo_do_ret(). However, there are some cases where the migration script got some things wrong, and I had to manually fix them.
Diffstat (limited to 'src/tests/eo/function_overrides')
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.c4
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.c b/src/tests/eo/function_overrides/function_overrides_simple.c
index 57942f7efe..1e0a6a27f1 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.c
+++ b/src/tests/eo/function_overrides/function_overrides_simple.c
@@ -53,8 +53,8 @@ _class_print2(Eo_Class *klass, void *class_data EINA_UNUSED)
53 53
54EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a); 54EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
55EAPI EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE); 55EAPI EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE);
56EAPI EO_FUNC_BODY(simple_class_print, Eina_Bool, EINA_FALSE); 56EAPI EO_FUNC_BODY_CONST(simple_class_print, Eina_Bool, EINA_FALSE);
57EAPI EO_FUNC_BODY(simple_class_print2, Eina_Bool, EINA_FALSE); 57EAPI EO_FUNC_BODY_CONST(simple_class_print2, Eina_Bool, EINA_FALSE);
58 58
59static Eo_Op_Description op_descs[] = { 59static Eo_Op_Description op_descs[] = {
60 EO_OP_FUNC(simple_a_set, _a_set), 60 EO_OP_FUNC(simple_a_set, _a_set),
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.h b/src/tests/eo/function_overrides/function_overrides_simple.h
index 3c54d74dd4..9128c90d34 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.h
+++ b/src/tests/eo/function_overrides/function_overrides_simple.h
@@ -8,8 +8,8 @@ typedef struct
8 8
9EAPI void simple_a_set(Eo *obj, int a); 9EAPI void simple_a_set(Eo *obj, int a);
10EAPI Eina_Bool simple_a_print(Eo *obj); 10EAPI Eina_Bool simple_a_print(Eo *obj);
11EAPI Eina_Bool simple_class_print(Eo *obj); 11EAPI Eina_Bool simple_class_print(const Eo *obj);
12EAPI Eina_Bool simple_class_print2(Eo *obj); 12EAPI Eina_Bool simple_class_print2(const Eo *obj);
13 13
14extern const Eo_Event_Description _SIG_A_CHANGED; 14extern const Eo_Event_Description _SIG_A_CHANGED;
15#define SIG_A_CHANGED (&(_SIG_A_CHANGED)) 15#define SIG_A_CHANGED (&(_SIG_A_CHANGED))