summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-09-28 16:05:08 +0100
committerTom Hacohen <tom@stosb.com>2015-09-28 16:18:09 +0100
commita3f9b2e05140368f3c0f1f9aca63344c8582b40a (patch)
tree2ec165b1a7863c4f3d52984ed49503239d08bb0b /src/examples
parent9328524da41a7d0c7fdb1171ad755d962e282f0f (diff)
Eo: Fix examples and benchmarks according to recent Eo changes.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eo/isa/eo_isa_interface.c2
-rw-r--r--src/examples/eo/isa/eo_isa_mixin.c2
-rw-r--r--src/examples/eo/isa/eo_isa_simple.c4
-rw-r--r--src/examples/eo/simple/simple_interface.c2
-rw-r--r--src/examples/eo/simple/simple_mixin.c2
-rw-r--r--src/examples/eo/simple/simple_simple.c4
6 files changed, 8 insertions, 8 deletions
diff --git a/src/examples/eo/isa/eo_isa_interface.c b/src/examples/eo/isa/eo_isa_interface.c
index 229f298c48..fd0b20ed45 100644
--- a/src/examples/eo/isa/eo_isa_interface.c
+++ b/src/examples/eo/isa/eo_isa_interface.c
@@ -10,7 +10,7 @@
10EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0); 10EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0);
11 11
12static Eo_Op_Description op_desc[] = { 12static Eo_Op_Description op_desc[] = {
13 EO_OP_FUNC(interface_a_power_3_get, NULL, "Get the a^3"), 13 EO_OP_FUNC(interface_a_power_3_get, NULL),
14}; 14};
15 15
16static const Eo_Class_Description class_desc = { 16static const Eo_Class_Description class_desc = {
diff --git a/src/examples/eo/isa/eo_isa_mixin.c b/src/examples/eo/isa/eo_isa_mixin.c
index ec6dba04b8..ce45601a95 100644
--- a/src/examples/eo/isa/eo_isa_mixin.c
+++ b/src/examples/eo/isa/eo_isa_mixin.c
@@ -21,7 +21,7 @@ _a_square_get(Eo *obj, void *class_data EINA_UNUSED)
21EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0); 21EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0);
22 22
23static Eo_Op_Description op_desc[] = { 23static Eo_Op_Description op_desc[] = {
24 EO_OP_FUNC(mixin_a_square_get, _a_square_get, "Get the value of A^2"), 24 EO_OP_FUNC(mixin_a_square_get, _a_square_get),
25}; 25};
26 26
27static const Eo_Class_Description class_desc = { 27static const Eo_Class_Description class_desc = {
diff --git a/src/examples/eo/isa/eo_isa_simple.c b/src/examples/eo/isa/eo_isa_simple.c
index d38bfe1082..1965b06d69 100644
--- a/src/examples/eo/isa/eo_isa_simple.c
+++ b/src/examples/eo/isa/eo_isa_simple.c
@@ -40,8 +40,8 @@ EAPI EO_FUNC_BODY(simple_a_get, int, 0);
40EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a); 40EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
41 41
42static Eo_Op_Description op_desc[] = { 42static Eo_Op_Description op_desc[] = {
43 EO_OP_FUNC(simple_a_set, _a_set, "Set property A"), 43 EO_OP_FUNC(simple_a_set, _a_set),
44 EO_OP_FUNC(simple_a_get, _a_get, "Get property A"), 44 EO_OP_FUNC(simple_a_get, _a_get),
45 EO_OP_FUNC_OVERRIDE(interface_a_power_3_get, _a_power_3_get), 45 EO_OP_FUNC_OVERRIDE(interface_a_power_3_get, _a_power_3_get),
46}; 46};
47 47
diff --git a/src/examples/eo/simple/simple_interface.c b/src/examples/eo/simple/simple_interface.c
index 3015f3306f..a30ac5f2b4 100644
--- a/src/examples/eo/simple/simple_interface.c
+++ b/src/examples/eo/simple/simple_interface.c
@@ -10,7 +10,7 @@
10EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0); 10EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0);
11 11
12static Eo_Op_Description op_desc[] = { 12static Eo_Op_Description op_desc[] = {
13 EO_OP_FUNC(interface_a_power_3_get, NULL, "Get the a^3"), 13 EO_OP_FUNC(interface_a_power_3_get, NULL),
14}; 14};
15 15
16static const Eo_Class_Description class_desc = { 16static const Eo_Class_Description class_desc = {
diff --git a/src/examples/eo/simple/simple_mixin.c b/src/examples/eo/simple/simple_mixin.c
index 734ca968cc..5831ce022b 100644
--- a/src/examples/eo/simple/simple_mixin.c
+++ b/src/examples/eo/simple/simple_mixin.c
@@ -21,7 +21,7 @@ _a_square_get(Eo *obj, void *class_data EINA_UNUSED)
21EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0); 21EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0);
22 22
23static Eo_Op_Description op_desc[] = { 23static Eo_Op_Description op_desc[] = {
24 EO_OP_FUNC(mixin_a_square_get, _a_square_get, "Get the value of A^2"), 24 EO_OP_FUNC(mixin_a_square_get, _a_square_get),
25}; 25};
26 26
27static const Eo_Class_Description class_desc = { 27static const Eo_Class_Description class_desc = {
diff --git a/src/examples/eo/simple/simple_simple.c b/src/examples/eo/simple/simple_simple.c
index 1cd92c9960..f16bf0735b 100644
--- a/src/examples/eo/simple/simple_simple.c
+++ b/src/examples/eo/simple/simple_simple.c
@@ -40,8 +40,8 @@ EAPI EO_FUNC_BODY(simple_a_get, int, 0);
40EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a); 40EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
41 41
42static Eo_Op_Description op_desc[] = { 42static Eo_Op_Description op_desc[] = {
43 EO_OP_FUNC(simple_a_set, _a_set, "Set property A"), 43 EO_OP_FUNC(simple_a_set, _a_set),
44 EO_OP_FUNC(simple_a_get, _a_get, "Get property A"), 44 EO_OP_FUNC(simple_a_get, _a_get),
45 EO_OP_FUNC_OVERRIDE(interface_a_power_3_get, _a_power_3_get), 45 EO_OP_FUNC_OVERRIDE(interface_a_power_3_get, _a_power_3_get),
46}; 46};
47 47