summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_class_simple.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-09-08 13:08:08 +0100
committerTom Hacohen <tom@stosb.com>2016-09-08 13:59:04 +0100
commitbd3801247e50ff1cda48af33345a918240d7d315 (patch)
tree66dcde47e0b8d00e226a431fe899fda4cc2440e7 /src/tests/eo/suite/eo_test_class_simple.c
parent0f8fb7ef88d1bbb53e70c5ea0a4e8ef6a55c1a47 (diff)
Eo: Make function overrides implicit.
Before this commit, function overrides were explicit. That is, you'd have to explicitly state you were overriding a function instead of creating a new one. This made the code a tad more complex, and was also a bit more annoying to use. This commit removes this extra piece of information. This means we now store much less information per function, that will let us further optimise out structures in the future.
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, 2 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 56d424c183..a740e433f2 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -99,7 +99,7 @@ _class_initializer(Efl_Class *klass)
99 EFL_OBJECT_OP_FUNC(simple_recursive, _recursive), 99 EFL_OBJECT_OP_FUNC(simple_recursive, _recursive),
100 EFL_OBJECT_OP_FUNC(simple_part_get, _part_get), 100 EFL_OBJECT_OP_FUNC(simple_part_get, _part_get),
101 EFL_OBJECT_OP_FUNC(simple_pure_virtual, NULL), 101 EFL_OBJECT_OP_FUNC(simple_pure_virtual, NULL),
102 EFL_OBJECT_OP_FUNC_OVERRIDE(efl_dbg_info_get, _dbg_info_get), 102 EFL_OBJECT_OP_FUNC(efl_dbg_info_get, _dbg_info_get),
103 ); 103 );
104 104
105 return efl_class_functions_set(klass, &ops); 105 return efl_class_functions_set(klass, &ops);
@@ -160,7 +160,7 @@ static Eina_Bool
160_searchable_class_initializer(Efl_Class *klass) 160_searchable_class_initializer(Efl_Class *klass)
161{ 161{
162 EFL_OPS_DEFINE(ops, 162 EFL_OPS_DEFINE(ops,
163 EFL_OBJECT_OP_FUNC_OVERRIDE(efl_provider_find, _interface_get) 163 EFL_OBJECT_OP_FUNC(efl_provider_find, _interface_get)
164 ); 164 );
165 165
166 return efl_class_functions_set(klass, &ops); 166 return efl_class_functions_set(klass, &ops);