forked from enlightenment/efl
Eo: Actually mark EO_EV_ as EINA_DEPRECATED
This should add compilation warnings whereever they're used.
This commit is contained in:
parent
9d76a44b78
commit
258639a92e
|
@ -1025,9 +1025,12 @@ EAPI const Eo_Event_Description *eo_base_legacy_only_event_description_get(const
|
|||
*/
|
||||
|
||||
/* XXX: Deprecated, here for compat, DO NOT USE */
|
||||
#define EO_EV_CALLBACK_ADD EO_BASE_EVENT_CALLBACK_ADD
|
||||
#define EO_EV_CALLBACK_DEL EO_BASE_EVENT_CALLBACK_DEL
|
||||
#define EO_EV_DEL EO_BASE_EVENT_DEL
|
||||
EINA_DEPRECATED static inline const Eo_Event_Description* _EO_EV_CALLBACK_ADD(void) { return EO_BASE_EVENT_CALLBACK_ADD; }
|
||||
EINA_DEPRECATED static inline const Eo_Event_Description* _EO_EV_CALLBACK_DEL(void) { return EO_BASE_EVENT_CALLBACK_DEL; }
|
||||
EINA_DEPRECATED static inline const Eo_Event_Description* _EO_EV_DEL(void) { return EO_BASE_EVENT_DEL; }
|
||||
#define EO_EV_CALLBACK_ADD _EO_EV_CALLBACK_ADD()
|
||||
#define EO_EV_CALLBACK_DEL _EO_EV_CALLBACK_DEL()
|
||||
#define EO_EV_DEL _EO_EV_DEL()
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
|
Loading…
Reference in New Issue