From: hermet Date: Thu, 4 Aug 2011 08:15:12 +0000 (+0000) Subject: elementary/elm_widget - added a casting macro X-Git-Tag: REL_F_I9500_20120323_1~17^2~2037 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03e22cee7d26ac343cfccf3a29490ea3a6499ac2;p=framework%2Fuifw%2Felementary.git elementary/elm_widget - added a casting macro git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@62082 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h index 873d568..32d8b36 100644 --- a/src/lib/elm_widget.h +++ b/src/lib/elm_widget.h @@ -218,12 +218,8 @@ struct _Elm_Widget_Item /* @todo: TODO check if this is enough for 1.0 release, maybe add padding! */ }; -struct _Elm_Object_Item -{ - Elm_Widget_Item it; -}; - #define ELM_NEW(t) calloc(1, sizeof(t)) +#define ELM_CAST(p) ((void *)(p)) EAPI Eina_Bool elm_widget_api_check(int ver); EAPI Evas_Object *elm_widget_add(Evas *evas);