eo2: access tests makeup

This commit is contained in:
Tom Hacohen 2013-11-07 14:47:58 +00:00
parent bd66dd49f8
commit 7c0598c930
3 changed files with 8 additions and 8 deletions

View File

@ -18,8 +18,8 @@ _prot_print(Eo *obj, void *class_data EINA_UNUSED)
EAPI EO2_VOID_FUNC_BODY(inherit_prot_print);
static Eo2_Op_Description op_desc[] = {
EO2_OP_FUNC(_prot_print, inherit_prot_print, "Print protocted var x1."),
static Eo2_Op_Description op_descs[] = {
EO2_OP_FUNC(_prot_print, inherit_prot_print, "Print protected var x1."),
EO2_OP_SENTINEL
};
@ -27,7 +27,7 @@ static const Eo_Class_Description class_desc = {
EO2_VERSION,
"Inherit",
EO_CLASS_TYPE_REGULAR,
EO2_CLASS_DESCRIPTION_OPS(op_desc),
EO2_CLASS_DESCRIPTION_OPS(op_descs),
NULL,
0,
NULL,

View File

@ -32,8 +32,8 @@ _a_set(Eo *obj, void *class_data, int a)
EAPI EO2_VOID_FUNC_BODYV(simple_a_set, EO2_FUNC_CALL(a), int a);
static Eo2_Op_Description op_desc[] = {
EO2_OP_FUNC(_a_set, simple_a_set, "Set property A."),
static Eo2_Op_Description op_descs[] = {
EO2_OP_FUNC(_a_set, simple_a_set, "Set property A"),
EO2_OP_SENTINEL
};
@ -46,7 +46,7 @@ static const Eo_Class_Description class_desc = {
EO2_VERSION,
"Simple",
EO_CLASS_TYPE_REGULAR,
EO2_CLASS_DESCRIPTION_OPS(op_desc),
EO2_CLASS_DESCRIPTION_OPS(op_descs),
event_desc,
sizeof(Private_Data),
NULL,

View File

@ -1,13 +1,13 @@
#ifndef SIMPLE_H
#define SIMPLE_H
EAPI void simple_a_set(int a);
typedef struct
{
int public_x2;
} Simple_Public_Data;
EAPI void simple_a_set(int a);
extern const Eo_Event_Description _EV_A_CHANGED;
#define EV_A_CHANGED (&(_EV_A_CHANGED))