diff options
author | Tom Hacohen <tom@stosb.com> | 2016-09-09 10:53:58 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-09-09 11:14:35 +0100 |
commit | 7ebf9d879d41169beda06b0195e4a3b3c60818e1 (patch) | |
tree | d95a4bf61adb806446376b3c5e84b7deb2dfba3c /src/benchmarks | |
parent | 12dbab33f9281e3052b66126c8e9a182372f30b6 (diff) | |
download | efl-7ebf9d879d41169beda06b0195e4a3b3c60818e1.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | src/benchmarks/eo/eo_bench_eo_do.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/eo/class_simple.c b/src/benchmarks/eo/class_simple.c index 75f8eb0636..63378d6033 100644 --- a/src/benchmarks/eo/class_simple.c +++ b/src/benchmarks/eo/class_simple.c @@ -38,7 +38,7 @@ _class_initializer(Efl_Class *klass) EFL_OBJECT_OP_FUNC(simple_other_call, _other_call), ); - return efl_class_functions_set(klass, &ops); + return efl_class_functions_set(klass, &ops, NULL); } static 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 d434ab9dad..ec69bf3145 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) EFL_OBJECT_OP_FUNC(simple_a_set, _a_set), ); - return efl_class_functions_set(klass, &ops); + return efl_class_functions_set(klass, &ops, NULL); } static void |