foreach function
FossilOrigin-Name: 1341f06c96b58767034c1833abb9fe44bb2effd4c771b82ffacfcd7cb83ff475
This commit is contained in:
parent
b9fa8f6338
commit
2b696b582a
@ -66,6 +66,15 @@ extern struct mlist_elem *mlist_replace(mlist_t *l, struct mlist_elem *start, vo
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#define mlist_foreach(i,l)\
|
||||
for (i=l->data; i; i=i->next)
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user