forked from enlightenment/efl
* eina: Patch from Albin Tonnerre that add a new accessor for Inlist container.
SVN revision: 40726
This commit is contained in:
parent
16ae86eacb
commit
c38a387a05
|
@ -8,3 +8,4 @@ Cedric Bail <cedric.bail@free.fr>
|
|||
Peter "pfritz" Wehrfritz <peter.wehrfritz@web.de>
|
||||
Arnaud de Turckheim "quarium" <quarium@gmail.com>
|
||||
Alexandre "diaxen" Becoulet <diaxen@free.fr>
|
||||
Albin Tonnerre <albin.tonnerre@gmail.com>
|
||||
|
|
|
@ -38,6 +38,7 @@ struct _Eina_Inlist
|
|||
|
||||
#define EINA_INLIST Eina_Inlist __in_list
|
||||
#define EINA_INLIST_GET(Inlist) (&((Inlist)->__in_list))
|
||||
#define EINA_INLIST_CONTAINER_GET(ptr, type) ((type *) ((Eina_Inlist *) ptr - offsetof(type, __in_list)))
|
||||
|
||||
EAPI Eina_Inlist * eina_inlist_append(Eina_Inlist *in_list, Eina_Inlist *in_item) EINA_ARG_NONNULL(2) EINA_WARN_UNUSED_RESULT;
|
||||
EAPI Eina_Inlist * eina_inlist_prepend(Eina_Inlist *in_list, Eina_Inlist *in_item) EINA_ARG_NONNULL(2) EINA_WARN_UNUSED_RESULT;
|
||||
|
|
Loading…
Reference in New Issue