Eo: Fix examples and benchmarks according to recent Eo changes.

This commit is contained in:
Tom Hacohen 2015-09-28 16:05:08 +01:00
parent 9328524da4
commit a3f9b2e051
7 changed files with 9 additions and 9 deletions

View 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 = {

View 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 = {

View 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 = {

View 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),
};

View 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 = {

View 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 = {

View 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),
};