projects
/
profile
/
ivi
/
eobj.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eobj: s/__UNUSED__/EINA_UNUSED/ I had no idea that exists.
[profile/ivi/eobj.git]
/
examples
/
evas
/
elw_box.c
diff --git
a/examples/evas/elw_box.c
b/examples/evas/elw_box.c
index
9002a8d
..
d9bb95b
100644
(file)
--- a/
examples/evas/elw_box.c
+++ b/
examples/evas/elw_box.c
@@
-13,10
+13,10
@@
typedef struct
Evas_Object *bx;
} Widget_Data;
Evas_Object *bx;
} Widget_Data;
-static Eobj_Class *_my_class = NULL;
+static
const
Eobj_Class *_my_class = NULL;
static void
static void
-_pack_end(Eobj *obj
__UNUSED__
, void *class_data, va_list *list)
+_pack_end(Eobj *obj
EINA_UNUSED
, void *class_data, va_list *list)
{
Widget_Data *wd = class_data;
Eobj *child_obj;
{
Widget_Data *wd = class_data;
Eobj *child_obj;
@@
-44,8
+44,8
@@
static void
_class_constructor(Eobj_Class *klass)
{
const Eobj_Op_Func_Description func_desc[] = {
_class_constructor(Eobj_Class *klass)
{
const Eobj_Op_Func_Description func_desc[] = {
- EOBJ_OP_FUNC
_DESCRIPTION
(ELW_BOX_ID(ELW_BOX_SUB_ID_PACK_END), _pack_end),
- EOBJ_OP_FUNC_
DESCRIPTION_
SENTINEL
+ EOBJ_OP_FUNC(ELW_BOX_ID(ELW_BOX_SUB_ID_PACK_END), _pack_end),
+ EOBJ_OP_FUNC_SENTINEL
};
eobj_class_funcs_set(klass, func_desc);
};
eobj_class_funcs_set(klass, func_desc);