diff options
Diffstat (limited to 'src/llist_ts.h')
-rw-r--r-- | src/llist_ts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/llist_ts.h b/src/llist_ts.h index e152f5d..0822a3d 100644 --- a/src/llist_ts.h +++ b/src/llist_ts.h @@ -78,6 +78,9 @@ struct llist_ts { #define LLIST_TS_FIND_FOREACH(l_ts, data, fn_match, i) \ for (i = LLIST_TS_FIND_FIRST (l_ts, data, fn_match); i; \ i = LLIST_TS_FIND_NEXT (i, data, fn_match)) +#define LLIST_TS_FIND_FOREACH_CONT(l_ts, data, fn_match, i) \ + for (i = LLIST_TS_FIND_FIRST (l_ts, data, fn_match); i; \ + i = LLIST_TS_NEXT_FILTER (i, data, fn_match)) /* Accessing list item data. */ #define LLIST_TS_GET_DATA(i) llist_get_data (i) |