Eo's Base class.

Modules | Macros | Typedefs | Functions
Eo's Base class.
Eo

## 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_EV_CALLBACK_ADD()
#define | EO_EV_CALLBACK_DEL _EO_EV_CALLBACK_DEL()
#define | EO_EV_DEL _EO_EV_DEL()

## Typedefs
typedef void(* | eo_key_data_free_func) (void *)
| Data free func prototype. More...

## Functions
static EINA_DEPRECATED const Eo_Event_Description * | _EO_EV_CALLBACK_ADD (void)
static EINA_DEPRECATED const Eo_Event_Description * | _EO_EV_CALLBACK_DEL (void)
static EINA_DEPRECATED const Eo_Event_Description * | _EO_EV_DEL (void)

## Detailed Description

## Macro Definition Documentation

## ◆ eo_weak_ref

#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

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

See also
  eo_weak_unref
  eo_wref_add

## ◆ eo_weak_unref

#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

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

See also
  eo_weak_ref
  eo_wref_del
  eo_wref_del_safe

## ◆ eo_wref_del_safe

#define eo_wref_del_safe | ( |  | wref | ) | eo_weak_unref(wref)

Delete the weak reference passed.

Parameters

  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.

See also
  #eo_wref_del

## Typedef Documentation

## ◆ eo_key_data_free_func

eo_key_data_free_func

Data free func prototype.

XXX: DO NOT USE, only here for legacy.