Modules | Macros | Typedefs
Eo's Base class.

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...
 

Detailed Description

Macro Definition Documentation

#define eo_weak_ref (   wref)
Value:
do { \
if (*wref) eo_do(*wref, eo_wref_add(wref)); \
} while (0)

Reference a pointer to an Eo object.

Parameters
wrefthe 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().

See also
eo_weak_unref
eo_wref_add
#define eo_weak_unref (   wref)
Value:
do { \
if (*wref) eo_do(*wref, eo_wref_del(wref)); \
} while (0)

Unreference a pointer to an Eo object.

Parameters
wrefthe 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().

See also
eo_weak_ref
eo_wref_del
eo_wref_del_safe
#define eo_wref_del_safe (   wref)    eo_weak_unref(wref)

Delete the weak reference passed.

Parameters
wrefthe 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.

See also
#eo_wref_del

Typedef Documentation

eo_key_data_free_func

Data free func prototype.

XXX: DO NOT USE, only here for legacy.