Eobj: eobj_super_do -> eobj_do_super.

SVN revision: 70257
This commit is contained in:
Tom Hacohen 2012-04-17 08:05:03 +00:00
parent e7a3e313ee
commit fc75dd0032
6 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ _a_get(Eobj *obj, void *class_data __UNUSED__, va_list *list)
{
int *a;
a = va_arg(*list, int *);
eobj_super_do(obj, SIMPLE_A_GET(a));
eobj_do_super(obj, SIMPLE_A_GET(a));
}
static void

View File

@ -26,7 +26,7 @@ _position_set(Eobj *obj, void *class_data __UNUSED__, va_list *list)
x = va_arg(*list, Evas_Coord);
y = va_arg(*list, Evas_Coord);
printf("But set position %d,%d\n", x, y);
eobj_super_do(obj, EVAS_OBJ_POSITION_SET(x, y));
eobj_do_super(obj, EVAS_OBJ_POSITION_SET(x, y));
}
static void

View File

@ -19,14 +19,14 @@ _a_set(Eobj *obj, void *class_data __UNUSED__, va_list *list)
a = va_arg(*list, int);
printf("%s %d\n", eobj_class_name_get(_my_class), a);
eobj_do(obj, SIMPLE_A_PRINT());
eobj_super_do(obj, SIMPLE_A_SET(a + 1));
eobj_do_super(obj, SIMPLE_A_SET(a + 1));
}
static void
_print(Eobj *obj, void *class_data __UNUSED__, va_list *list __UNUSED__)
{
printf("Hey\n");
fail_if(eobj_super_do(obj, INHERIT2_PRINT()));
fail_if(eobj_do_super(obj, INHERIT2_PRINT()));
}
static void

View File

@ -14,7 +14,7 @@ _a_set(Eobj *obj, void *class_data __UNUSED__, va_list *list)
int a;
a = va_arg(*list, int);
printf("%s %d\n", eobj_class_name_get(_my_class), a);
eobj_super_do(obj, SIMPLE_A_SET(a + 1));
eobj_do_super(obj, SIMPLE_A_SET(a + 1));
}
static void

View File

@ -299,7 +299,7 @@ EAPI Eina_Bool eobj_do_internal(Eobj *obj, ...);
*
* @see #eobj_do
*/
EAPI Eina_Bool eobj_super_do(Eobj *obj, Eobj_Op op, ...);
EAPI Eina_Bool eobj_do_super(Eobj *obj, Eobj_Op op, ...);
/**
* @brief Gets the class of the object.

View File

@ -397,7 +397,7 @@ eobj_do_internal(Eobj *obj, ...)
}
EAPI Eina_Bool
eobj_super_do(Eobj *obj, Eobj_Op op, ...)
eobj_do_super(Eobj *obj, Eobj_Op op, ...)
{
const Eobj_Class *obj_klass;
Eina_Bool ret = EINA_TRUE;