summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-14 10:28:41 +0100
committerTom Hacohen <tom@stosb.com>2015-10-19 10:22:41 +0100
commit44a221bdb1b457913bd8bcea99e971e7c489d7d8 (patch)
tree043569177d0e63761c90d60d1872c5c57d77c945
parentdffa54876b008af1e7a811b5d0b8377caecc5eaa (diff)
downloadefl-44a221bdb1b457913bd8bcea99e971e7c489d7d8.tar.gz
Eo benchmark: Fix super benchmark.
-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)
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,