aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmarks
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-09-27 16:26:25 +0100
committerTom Hacohen <tom@stosb.com>2013-09-27 16:40:32 +0100
commit682c69764d8f7fc984d554e5d3ba5ab82916c15b (patch)
treedfb872f78f637222fff1873d4bc3a52f4cc56b7b /src/benchmarks
parentManually revert "eo: replace Eo_Class with Eo" (diff)
downloadefl-682c69764d8f7fc984d554e5d3ba5ab82916c15b.tar.gz
Revert "eo: libs,test,benchmarks Eo_Class -> Eo"
This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31. We actually want this type, it makes things clearer. Conflicts: src/tests/eo/function_overrides/function_overrides_inherit2.c src/tests/eo/function_overrides/function_overrides_simple.c src/tests/eo/suite/eo_test_class_simple.c
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eo/class_simple.c2
-rw-r--r--src/benchmarks/eo/class_simple.h2
-rw-r--r--src/benchmarks/eo/eo_bench_eo_do.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/benchmarks/eo/class_simple.c b/src/benchmarks/eo/class_simple.c
index cab151c0b1..2e8dc3f621 100644
--- a/src/benchmarks/eo/class_simple.c
+++ b/src/benchmarks/eo/class_simple.c
@@ -20,7 +20,7 @@ _a_set(Eo *obj EINA_UNUSED, void *class_data, va_list *list)
}
static void
-_class_constructor(Eo *klass)
+_class_constructor(Eo_Class *klass)
{
const Eo_Op_Func_Description func_desc[] = {
EO_OP_FUNC(SIMPLE_ID(SIMPLE_SUB_ID_A_SET), _a_set),
diff --git a/src/benchmarks/eo/class_simple.h b/src/benchmarks/eo/class_simple.h
index 3e0a73c48d..b29e7987c1 100644
--- a/src/benchmarks/eo/class_simple.h
+++ b/src/benchmarks/eo/class_simple.h
@@ -18,6 +18,6 @@ typedef struct
#define simple_a_set(a) SIMPLE_ID(SIMPLE_SUB_ID_A_SET), EO_TYPECHECK(int, a)
#define SIMPLE_CLASS simple_class_get()
-const Eo *simple_class_get(void);
+const Eo_Class *simple_class_get(void);
#endif
diff --git a/src/benchmarks/eo/eo_bench_eo_do.c b/src/benchmarks/eo/eo_bench_eo_do.c
index 48e5eafbb5..601290e191 100644
--- a/src/benchmarks/eo/eo_bench_eo_do.c
+++ b/src/benchmarks/eo/eo_bench_eo_do.c
@@ -19,7 +19,7 @@ bench_eo_do_general(int request)
eo_unref(obj);
}
-static const Eo *cur_klass;
+static const Eo_Class *cur_klass;
static void
_a_set(Eo *obj, void *class_data EINA_UNUSED, va_list *list)
@@ -31,7 +31,7 @@ _a_set(Eo *obj, void *class_data EINA_UNUSED, va_list *list)
}
static void
-_class_constructor(Eo *klass)
+_class_constructor(Eo_Class *klass)
{
const Eo_Op_Func_Description func_desc[] = {
EO_OP_FUNC(SIMPLE_ID(SIMPLE_SUB_ID_A_SET), _a_set),