eina_inlist.h   eina_inlist.h 
skipping to change at line 804 skipping to change at line 804
l = (EINA_INLIST_GET(l)->next ? _EINA_INLIST_CONTAINER(l, EINA_INLIS T_GET(l)->next) : NULL)) l = (EINA_INLIST_GET(l)->next ? _EINA_INLIST_CONTAINER(l, EINA_INLIS T_GET(l)->next) : NULL))
/** /**
* @def EINA_INLIST_FOREACH_SAFE * @def EINA_INLIST_FOREACH_SAFE
* @param list The first list to be used. * @param list The first list to be used.
* @param list2 The second list to be used. * @param list2 The second list to be used.
* @param l The auxiliar variable to be used. * @param l The auxiliar variable to be used.
*/ */
#define EINA_INLIST_FOREACH_SAFE(list, list2, l) \ #define EINA_INLIST_FOREACH_SAFE(list, list2, l) \
for (l = (list ? _EINA_INLIST_CONTAINER(l, list) : NULL), list2 = l ? (( EINA_INLIST_GET(l) ? EINA_INLIST_GET(l)->next : NULL)) : NULL; \ for (l = (list ? _EINA_INLIST_CONTAINER(l, list) : NULL), list2 = l ? (( EINA_INLIST_GET(l) ? EINA_INLIST_GET(l)->next : NULL)) : NULL; \
l; \ l; \
l = _EINA_INLIST_CONTAINER(l, list2), list2 = list2 ? list2->next : NULL) l = list2 ? _EINA_INLIST_CONTAINER(l, list2) : NULL, list2 = list2 ? list2->next : NULL)
/** /**
* @def EINA_INLIST_REVERSE_FOREACH * @def EINA_INLIST_REVERSE_FOREACH
* @param list The list to be reversed. * @param list The list to be reversed.
* @param l The auxiliar variable to be used. * @param l The auxiliar variable to be used.
*/ */
#define EINA_INLIST_REVERSE_FOREACH(list, l) \ #define EINA_INLIST_REVERSE_FOREACH(list, l) \
for (l = NULL, l = (list ? _EINA_INLIST_CONTAINER(l, list->last) : NULL); \ for (l = NULL, l = (list ? _EINA_INLIST_CONTAINER(l, list->last) : NULL); \
l; l = (EINA_INLIST_GET(l)->prev ? _EINA_INLIST_CONTAINER(l, EINA_IN LIST_GET(l)->prev) : NULL)) l; l = (EINA_INLIST_GET(l)->prev ? _EINA_INLIST_CONTAINER(l, EINA_IN LIST_GET(l)->prev) : NULL))
/** /**
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/