Eo: Fix examples and benchmarks according to recent Eo changes.
authorTom Hacohen <tom@stosb.com>
Mon, 28 Sep 2015 15:05:08 +0000 (16:05 +0100)
committerTom Hacohen <tom@stosb.com>
Mon, 28 Sep 2015 15:18:09 +0000 (16:18 +0100)
src/benchmarks/eo/class_simple.c
src/examples/eo/isa/eo_isa_interface.c
src/examples/eo/isa/eo_isa_mixin.c
src/examples/eo/isa/eo_isa_simple.c
src/examples/eo/simple/simple_interface.c
src/examples/eo/simple/simple_mixin.c
src/examples/eo/simple/simple_simple.c

index 2508959..5923825 100644 (file)
@@ -17,7 +17,7 @@ _a_set(Eo *obj EINA_UNUSED, void *class_data, int a)
 EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(simple_a_set, _a_set, "Set property A"),
+     EO_OP_FUNC(simple_a_set, _a_set),
 };
 
 static const Eo_Class_Description class_desc = {
index 229f298..fd0b20e 100644 (file)
@@ -10,7 +10,7 @@
 EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(interface_a_power_3_get, NULL, "Get the a^3"),
+     EO_OP_FUNC(interface_a_power_3_get, NULL),
 };
 
 static const Eo_Class_Description class_desc = {
index ec6dba0..ce45601 100644 (file)
@@ -21,7 +21,7 @@ _a_square_get(Eo *obj, void *class_data EINA_UNUSED)
 EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(mixin_a_square_get, _a_square_get, "Get the value of A^2"),
+     EO_OP_FUNC(mixin_a_square_get, _a_square_get),
 };
 
 static const Eo_Class_Description class_desc = {
index d38bfe1..1965b06 100644 (file)
@@ -40,8 +40,8 @@ EAPI EO_FUNC_BODY(simple_a_get, int, 0);
 EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(simple_a_set, _a_set, "Set property A"),
-     EO_OP_FUNC(simple_a_get, _a_get, "Get property A"),
+     EO_OP_FUNC(simple_a_set, _a_set),
+     EO_OP_FUNC(simple_a_get, _a_get),
      EO_OP_FUNC_OVERRIDE(interface_a_power_3_get, _a_power_3_get),
 };
 
index 3015f33..a30ac5f 100644 (file)
@@ -10,7 +10,7 @@
 EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(interface_a_power_3_get, NULL, "Get the a^3"),
+     EO_OP_FUNC(interface_a_power_3_get, NULL),
 };
 
 static const Eo_Class_Description class_desc = {
index 734ca96..5831ce0 100644 (file)
@@ -21,7 +21,7 @@ _a_square_get(Eo *obj, void *class_data EINA_UNUSED)
 EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(mixin_a_square_get, _a_square_get, "Get the value of A^2"),
+     EO_OP_FUNC(mixin_a_square_get, _a_square_get),
 };
 
 static const Eo_Class_Description class_desc = {
index 1cd92c9..f16bf07 100644 (file)
@@ -40,8 +40,8 @@ EAPI EO_FUNC_BODY(simple_a_get, int, 0);
 EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
 
 static Eo_Op_Description op_desc[] = {
-     EO_OP_FUNC(simple_a_set, _a_set, "Set property A"),
-     EO_OP_FUNC(simple_a_get, _a_get, "Get property A"),
+     EO_OP_FUNC(simple_a_set, _a_set),
+     EO_OP_FUNC(simple_a_get, _a_get),
      EO_OP_FUNC_OVERRIDE(interface_a_power_3_get, _a_power_3_get),
 };