Go to the source code of this file.
◆ BLI_ITERATOR_INIT
#define BLI_ITERATOR_INIT |
( |
|
iter | ) |
|
Value: { \
(iter)->skip = false; \
(iter)->valid = true; \
} \
SyclQueue void void size_t num_bytes void
Definition at line 23 of file BLI_iterator.h.
◆ ITER_BEGIN
#define ITER_BEGIN |
( |
|
callback_begin, |
|
|
|
callback_next, |
|
|
|
callback_end, |
|
|
|
_data_in, |
|
|
|
_type, |
|
|
|
_instance |
|
) |
| |
Value: { \
_type _instance; \
IteratorCb callback_end_func = callback_end; \
BLI_Iterator iter_macro; \
BLI_ITERATOR_INIT(&iter_macro); \
for (callback_begin(&iter_macro, (_data_in)); iter_macro.valid; callback_next(&iter_macro)) { \
if (iter_macro.skip) { \
iter_macro.skip = false; \
continue; \
} \
_instance = (_type)iter_macro.current;
Definition at line 30 of file BLI_iterator.h.
◆ ITER_END
Value: } \
callback_end_func(&iter_macro); \
} \
Definition at line 43 of file BLI_iterator.h.
◆ BLI_Iterator
◆ IteratorBeginCb
◆ IteratorCb