nicer formatting

feature/foreach_index
Nils Dijk 2021-11-03 16:46:40 +01:00
parent 88e2c1f8da
commit 9bc7ed13f0
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
1 changed files with 2 additions and 3 deletions

View File

@ -59,9 +59,8 @@ typedef struct ListCellAndIndex
for (ListCellAndIndex(var ## InternalDoNotUse) = { list_head(l), 0 }; \ for (ListCellAndIndex(var ## InternalDoNotUse) = { list_head(l), 0 }; \
(var ## InternalDoNotUse).listCell != NULL && \ (var ## InternalDoNotUse).listCell != NULL && \
(((var) = lfirst((var ## InternalDoNotUse).listCell)) || true); \ (((var) = lfirst((var ## InternalDoNotUse).listCell)) || true); \
(var ## InternalDoNotUse).listCell = lnext_compat(l, \ (var ## InternalDoNotUse).listCell = \
(var ## InternalDoNotUse). \ lnext_compat(l, (var ## InternalDoNotUse).listCell), \
listCell), \
(var ## InternalDoNotUse).index ++) (var ## InternalDoNotUse).index ++)