summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-14 10:28:41 +0100
committerTom Hacohen <tom@stosb.com>2015-11-09 11:43:04 +0000
commit9f6ec045a7e5d9a1f1be360e282051821a4c4cc6 (patch)
treed30b329f98949b692e8a3e07523b6477ec6570e9 /src
parent680388472e188a33fe12e12c54c32059aec6283d (diff)
Eo benchmark: Fix super benchmark.
Diffstat (limited to 'src')
-rw-r--r--src/benchmarks/eo/eo_bench_eo_do.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/benchmarks/eo/eo_bench_eo_do.c b/src/benchmarks/eo/eo_bench_eo_do.c
index 7210d01a8e..36abc1417a 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)
27 eo_do_super(obj, cur_klass, simple_a_set(a)); 27 eo_do_super(obj, cur_klass, simple_a_set(a));
28} 28}
29 29
30static Eo_Op_Description op_desc[] = {
31 EO_OP_FUNC_OVERRIDE(simple_a_set, _a_set),
32};
33
30static void 34static void
31bench_eo_do_super(int request) 35bench_eo_do_super(int request)
32{ 36{
@@ -34,7 +38,7 @@ bench_eo_do_super(int request)
34 EO_VERSION, 38 EO_VERSION,
35 "Simple2", 39 "Simple2",
36 EO_CLASS_TYPE_REGULAR, 40 EO_CLASS_TYPE_REGULAR,
37 EO_CLASS_DESCRIPTION_NOOPS(), 41 EO_CLASS_DESCRIPTION_OPS(op_desc),
38 NULL, 42 NULL,
39 0, 43 0,
40 NULL, 44 NULL,