diff options
author | Tom Hacohen <tom@stosb.com> | 2014-04-02 09:46:34 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2014-04-10 04:20:21 +0100 |
commit | c32bb4fe958cca857f7f74171bc1be6b53c4fe99 (patch) | |
tree | a139f4ac8b0147bcb944afd08609e58e298d7377 /src/tests/eo/access/access_simple.c | |
parent | 80faa56ed3399fb10dafa0a88831f52e6769a7d4 (diff) | |
download | efl-c32bb4fe958cca857f7f74171bc1be6b53c4fe99.tar.gz |
Eo2: Updated naming Eo2->Eo.
Diffstat (limited to 'src/tests/eo/access/access_simple.c')
-rw-r--r-- | src/tests/eo/access/access_simple.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/eo/access/access_simple.c b/src/tests/eo/access/access_simple.c index 59997f3a78..2eeb8cc570 100644 --- a/src/tests/eo/access/access_simple.c +++ b/src/tests/eo/access/access_simple.c @@ -27,14 +27,14 @@ _a_set(Eo *obj, void *class_data, int a) pd->protected.protected_x1 = a + 1; pd->protected.public.public_x2 = a + 2; - eo2_do(obj, eo2_event_callback_call(EV_A_CHANGED, &pd->a)); + eo_do(obj, eo_event_callback_call(EV_A_CHANGED, &pd->a)); } -EAPI EO2_VOID_FUNC_BODYV(simple_a_set, EO2_FUNC_CALL(a), int a); +EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a); -static Eo2_Op_Description op_descs[] = { - EO2_OP_FUNC(simple_a_set, _a_set, "Set property A"), - EO2_OP_SENTINEL +static Eo_Op_Description op_descs[] = { + EO_OP_FUNC(simple_a_set, _a_set, "Set property A"), + EO_OP_SENTINEL }; static const Eo_Event_Description *event_desc[] = { @@ -43,15 +43,15 @@ static const Eo_Event_Description *event_desc[] = { }; static const Eo_Class_Description class_desc = { - EO2_VERSION, + EO_VERSION, "Simple", EO_CLASS_TYPE_REGULAR, - EO2_CLASS_DESCRIPTION_OPS(op_descs), + EO_CLASS_DESCRIPTION_OPS(op_descs), event_desc, sizeof(Private_Data), NULL, NULL }; -EO_DEFINE_CLASS(simple_class_get, &class_desc, EO2_BASE_CLASS, NULL) +EO_DEFINE_CLASS(simple_class_get, &class_desc, EO_BASE_CLASS, NULL) |