tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9f6ec045a7e5d9a1f1be360e282051821a4c4cc6

commit 9f6ec045a7e5d9a1f1be360e282051821a4c4cc6
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Oct 14 10:28:41 2015 +0100

    Eo benchmark: Fix super benchmark.
---
 src/benchmarks/eo/eo_bench_eo_do.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/benchmarks/eo/eo_bench_eo_do.c 
b/src/benchmarks/eo/eo_bench_eo_do.c
index 7210d01..36abc14 100644
--- a/src/benchmarks/eo/eo_bench_eo_do.c
+++ b/src/benchmarks/eo/eo_bench_eo_do.c
@@ -27,6 +27,10 @@ _a_set(Eo *obj, void *class_data EINA_UNUSED, int a)
    eo_do_super(obj, cur_klass, simple_a_set(a));
 }
 
+static Eo_Op_Description op_desc[] = {
+     EO_OP_FUNC_OVERRIDE(simple_a_set, _a_set),
+};
+
 static void
 bench_eo_do_super(int request)
 {
@@ -34,7 +38,7 @@ bench_eo_do_super(int request)
         EO_VERSION,
         "Simple2",
         EO_CLASS_TYPE_REGULAR,
-        EO_CLASS_DESCRIPTION_NOOPS(),
+        EO_CLASS_DESCRIPTION_OPS(op_desc),
         NULL,
         0,
         NULL,

-- 


Reply via email to