Go to the source code of this file.
◆ BLI_ITERATOR_INIT
| #define BLI_ITERATOR_INIT |
( |
| iter | ) |
|
◆ ITER_BEGIN
| #define ITER_BEGIN |
( |
| callback_begin, |
|
|
| callback_next, |
|
|
| callback_end, |
|
|
| _data_in, |
|
|
| _type, |
|
|
| _instance ) |
Value: { \
_type _instance; \
BLI_ITERATOR_INIT(&iter_macro); \
for (callback_begin(&iter_macro, (_data_in)); iter_macro.
valid; callback_next(&iter_macro)) { \
iter_macro.
skip =
false; \
continue; \
} \
_instance = (_type)iter_macro.
current;
void(* IteratorCb)(BLI_Iterator *iter)
Definition at line 32 of file BLI_iterator.h.
◆ ITER_END
Value: } \
callback_end_func(&iter_macro); \
} \
((void)0)
Definition at line 45 of file BLI_iterator.h.
◆ BLI_Iterator
| typedef struct BLI_Iterator BLI_Iterator |
◆ IteratorBeginCb
| typedef void(* IteratorBeginCb) (BLI_Iterator *iter, void *data_in) |
◆ IteratorCb