ListNodeNext
- Macro
- October 8, 2025
Table of Contents
ListNodeNext
ListNodeNext
Description
Get item after (next to) given list item
Parameters
Name | Direction | Description |
---|---|---|
item | in | List node to get next node of, in the list. |
Success
Node next to given item
in list.
Failure
NULL
Usage example (Cross-references)
- In
Foreach.h:30
:
if ((ValidateList(UNPL(pl)), 1) && (UNPL(pl)->head)) \
for (GenericListNode * UNPL(node) = (GenericListNode *)ListNodeBegin(UNPL(pl)); UNPL(node); \
UNPL(node) = ListNodeNext(UNPL(node))) \
if (((void *)UNPL(node)->next != (void *)UNPL(node)) && \
((void *)UNPL(node)->prev != (void *)UNPL(node)) && (UNPL(node)->data)) \
- In
Foreach.h:57
:
if ((ValidateList(UNPL(pl)), 1) && (UNPL(pl)->head)) \
for (GenericListNode * UNPL(node) = (GenericListNode *)ListNodeBegin(UNPL(pl)); UNPL(node); \
UNPL(node) = ListNodeNext(UNPL(node))) \
if (((void *)UNPL(node)->next != (void *)UNPL(node)) && \
((void *)UNPL(node)->prev != (void *)UNPL(node)) && (UNPL(node)->data)) \
- In
Foreach.h:141
:
if ((ValidateList(UNPL(pl)), 1) && UNPL(pl)->head) \
for (GenericListNode * UNPL(node) = (GenericListNode *)ListNodeBegin(UNPL(pl)); UNPL(node); \
UNPL(node) = ListNodeNext(UNPL(node))) \
for (u64 UNPL(i) = 0; UNPL(node) && UNPL(i) < (end); UNPL(node) = ListNodeNext(UNPL(node)), ++UNPL(i)) \
if (UNPL(i) >= (start) && (UNPL(node)->data)) \
- In
Foreach.h:142
:
for (GenericListNode * UNPL(node) = (GenericListNode *)ListNodeBegin(UNPL(pl)); UNPL(node); \
UNPL(node) = ListNodeNext(UNPL(node))) \
for (u64 UNPL(i) = 0; UNPL(node) && UNPL(i) < (end); UNPL(node) = ListNodeNext(UNPL(node)), ++UNPL(i)) \
if (UNPL(i) >= (start) && (UNPL(node)->data)) \
for (bool UNPL(_once) = true; UNPL(_once); UNPL(_once) = false) \
- In
Foreach.h:168
:
if ((ValidateList(UNPL(pl)), 1) && UNPL(pl)->head) \
for (GenericListNode * UNPL(node) = (GenericListNode *)ListNodeBegin(UNPL(pl)); UNPL(node); \
UNPL(node) = ListNodeNext(UNPL(node))) \
for (u64 UNPL(i) = 0; UNPL(node) && UNPL(i) < (end); UNPL(node) = ListNodeNext(UNPL(node)), ++UNPL(i)) \
if (UNPL(i) >= (start) && (UNPL(node)->data)) \
- In
Foreach.h:169
:
for (GenericListNode * UNPL(node) = (GenericListNode *)ListNodeBegin(UNPL(pl)); UNPL(node); \
UNPL(node) = ListNodeNext(UNPL(node))) \
for (u64 UNPL(i) = 0; UNPL(node) && UNPL(i) < (end); UNPL(node) = ListNodeNext(UNPL(node)), ++UNPL(i)) \
if (UNPL(i) >= (start) && (UNPL(node)->data)) \
for (bool UNPL(_once) = true; UNPL(_once); UNPL(_once) = false) \