Modules | |
Eo's Event Handling | |
Macros | |
#define | eo_weak_ref(wref) |
Reference a pointer to an Eo object. More... | |
#define | eo_weak_unref(wref) |
Unreference a pointer to an Eo object. More... | |
#define | eo_wref_del_safe(wref) eo_weak_unref(wref) |
Delete the weak reference passed. More... | |
#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 |
Typedefs | |
typedef void(* | eo_key_data_free_func) (void *) |
Data free func prototype. More... | |
#define eo_weak_ref | ( | wref | ) |
Reference a pointer to an Eo object.
wref | the pointer to use for the weak ref |
Same as eo_wref_add() with the difference that it call eo_do() itself. Checking for *wref NULL and making sure that you pass the right pointer to both side of eo_do().
#define eo_weak_unref | ( | wref | ) |
Unreference a pointer to an Eo object.
wref | the pointer to use for the weak unref |
Same as eo_wref_del() with the difference that it call eo_do() itself. Checking for *wref NULL and making sure that you pass the right pointer to both side of eo_do().
#define eo_wref_del_safe | ( | wref | ) | eo_weak_unref(wref) |
Delete the weak reference passed.
wref | the weak reference to free. |
Same as eo_wref_del(), with the different that it's not called from eo_do() so you don't need to check if *wref is not NULL.
eo_key_data_free_func |
Data free func prototype.
XXX: DO NOT USE, only here for legacy.