Go to the source code of this file.
|
| namespace | Kernel |
| | UPS inline definitions.
|
◆ RTL_TRY_FIND_NODE
| #define RTL_TRY_FIND_NODE |
( |
| NAME, |
|
|
| NODE ) |
Value: auto* NAME = NODE; \
while (NAME) { \
if (NAME->fIndex == Index) return NAME->fVal; \
NAME = NAME->fNext; \
}
◆ RTL_TRY_FIND_NODE2
| #define RTL_TRY_FIND_NODE2 |
( |
| NAME, |
|
|
| NODE ) |
Value: auto* NAME = NODE; \
while (NAME) { \
if (NAME->fIndex == Index)
return Ref<T>{NAME->fVal}; \
NAME = NAME->fNext; \
}
REF_TYPE * Ref
Definition System.h:28
◆ RTL_TRY_REMOVE_NODE
| #define RTL_TRY_REMOVE_NODE |
( |
| NODE | ) |
|
Value: if (NODE && NODE->fIndex == Index) { \
NODE->fUsed = false; \
NODE->fIndex = 0; \
\
return true; \
}