Trash
[Containers]

Data Structures

struct  _Eina_Trash
 Type for a generic container of unused allocated pointer. More...

Defines

#define EINA_TRASH_CLEAN(trash, data)   while ((data = eina_trash_pop(trash))

Typedefs

typedef struct _Eina_Trash Eina_Trash
 Type for a generic container of unused allocated pointer.

Functions

static void eina_trash_init (Eina_Trash **trash) EINA_ARG_NONNULL(1)
static void eina_trash_push (Eina_Trash **trash, void *data) EINA_ARG_NONNULL(1)
static void * eina_trash_pop (Eina_Trash **trash) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT