summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-10 16:57:00 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-13 16:59:59 +0100
commit46885653bc0467f88042bb110fdc973b2258f69c (patch)
treec716b93474cbc0847c1e082298ae7314a0f16b26 /src/benchmarks
parent37d2d378ec2e2d1f9a3941372ef4d818996291c7 (diff)
eo: remove class functions from eo
As in the previous commit explained, we want to get rid of class functions in eo, and make them just c functions right away. This commit removes the class parameter from the eo_class_function_set call, and adjusts the tests to not depend on class functions anymore. Class functions are now not tested anymore, tests that used them as a way to test *things* are adjusted to test them now with object functions, tests that just tested the working of class functions are dropped. This fixes T7675. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7902
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eo/class_simple.c2
-rw-r--r--src/benchmarks/eo/eo_bench_eo_do.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/eo/class_simple.c b/src/benchmarks/eo/class_simple.c
index 3d153ce..63378d6 100644
--- a/src/benchmarks/eo/class_simple.c
+++ b/src/benchmarks/eo/class_simple.c
@@ -38,7 +38,7 @@ _class_initializer(Efl_Class *klass)
38 EFL_OBJECT_OP_FUNC(simple_other_call, _other_call), 38 EFL_OBJECT_OP_FUNC(simple_other_call, _other_call),
39 ); 39 );
40 40
41 return efl_class_functions_set(klass, &ops, NULL, NULL); 41 return efl_class_functions_set(klass, &ops, NULL);
42} 42}
43 43
44static const Efl_Class_Description class_desc = { 44static const Efl_Class_Description class_desc = {
diff --git a/src/benchmarks/eo/eo_bench_eo_do.c b/src/benchmarks/eo/eo_bench_eo_do.c
index cb95185..2783b91 100644
--- a/src/benchmarks/eo/eo_bench_eo_do.c
+++ b/src/benchmarks/eo/eo_bench_eo_do.c
@@ -65,7 +65,7 @@ _class_initializer(Efl_Class *klass)
65 EFL_OBJECT_OP_FUNC(simple_a_set, _a_set), 65 EFL_OBJECT_OP_FUNC(simple_a_set, _a_set),
66 ); 66 );
67 67
68 return efl_class_functions_set(klass, &ops, NULL, NULL); 68 return efl_class_functions_set(klass, &ops, NULL);
69} 69}
70 70
71static void 71static void