Author: Guilherme Iscaro <iscaro@profusion.mobi>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@71850
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
while (list)
{
- Eina_Inlist *aux = list;
+ struct my_struct *aux = EINA_INLIST_CONTAINER_GET(list,
+ struct my_struct);
list = eina_inlist_remove(list, list);
free(aux);
}
while (inlist)
{
- Eina_Inlist *aux = inlist;
+ struct my_struct *aux = EINA_INLIST_CONTAINER_GET(inlist,
+ struct my_struct);
inlist = eina_inlist_remove(inlist, inlist);
free(aux);
}
while (list)
{
- Eina_Inlist *aux = list;
+ struct my_struct *aux = EINA_INLIST_CONTAINER_GET(list,
+ struct my_struct);
list = eina_inlist_remove(list, list);
free(aux);
}