#include <digits.h>
|
| #define | IteratorTail(return_type, struct_type) |
| | The base definition macro for all iterators in this project. More...
|
| |
| #define | IterationHead(it) |
| | The base macro for all iteration functions in this project. More...
|
| |
| #define | IteratorInitHead(advance, ...) {.iterator_function = &advance, AddDestructor(no_destructor), __VA_ARGS__} |
| | The base macro for all iterator initialization functions in this project. More...
|
| |
| #define | AddDestructor(func) ExtendInit(destructor, (void (*const)(void *)) &func) |
| | The extension macro for initializing Iterators with a destructor. More...
|
| |
| #define | ExtendInit(name, value) .name = value |
| | The extension macro for initializing more complicated Iterators. More...
|
| |
| #define | next(state) (*(state.iterator_function))(&state) |
| | The macro to advance generic iterators. More...
|
| |
| #define | next_p(state) (*(state->iterator_function))(state) |
| | The macro to advance generic iterator pointers. More...
|
| |
| #define | free_iterator(it) (*(it.destructor))(&it) |
| | The generic destructor for iterators. More...
|
| |
| #define | free_iterator_p(it) (*(it->destructor))(it) |
| | The generic destructor for iterator pointers. More...
|
| |
| void(*const c::include::digits::digit_counter::destructor) (void *it) |
|
private |
| unsigned char* c::include::digits::digit_counter::digits |
| size_t c::include::digits::digit_counter::idx |
| unsigned char(*const c::include::digits::digit_counter::iterator_function) (digit_counter *it) |
|
private |
The pointer to the iteration function.
- See also
- next
The documentation for this struct was generated from the following file: