summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-09-09 10:53:58 +0100
committerTom Hacohen <tom@stosb.com>2016-09-09 11:14:35 +0100
commit7ebf9d879d41169beda06b0195e4a3b3c60818e1 (patch)
treed95a4bf61adb806446376b3c5e84b7deb2dfba3c /src/benchmarks
parent12dbab33f9281e3052b66126c8e9a182372f30b6 (diff)
Eo: Change the way functions are registered to classes
This change lets us remove a field from the structure that leads to around 20KiB more of saving in private dirty pages in elementary. This also looks a bit better and feels a bit cleaner. Breaks API and ABI.
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 75f8eb0..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); 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 d434ab9..ec69bf3 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); 68 return efl_class_functions_set(klass, &ops, NULL);
69} 69}
70 70
71static void 71static void