![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | iterator |
Macros | |
| #define | ITERATOR(p) ((struct iterator *) (p)) |
| #define | generic_iterate(TYPE_it, TYPE_a, NAME_a, FUNC_size, FUNC_init, ...) |
| #define | generic_iterate_end |
Functions | |
| static void | iterator_next (struct iterator *it) |
| static void * | iterator_get (const struct iterator *it) |
| static bool | iterator_valid (const struct iterator *it) |
| struct iterator * | invalid_iter_init (struct iterator *it) |
| Initializes the iterator vtable so that generic_iterate assumes that the iterator is invalid. More... | |
| #define generic_iterate | ( | TYPE_it, | |
| TYPE_a, | |||
| NAME_a, | |||
| FUNC_size, | |||
| FUNC_init, | |||
| ... | |||
| ) |
Definition at line 73 of file iterator.h.
| #define generic_iterate_end |
Definition at line 83 of file iterator.h.
| #define ITERATOR | ( | p | ) | ((struct iterator *) (p)) |
Definition at line 26 of file iterator.h.
Initializes the iterator vtable so that generic_iterate assumes that the iterator is invalid.
Definition at line 37 of file iterator.cpp.
Referenced by genhash_iter_init_common().
|
inlinestatic |
Definition at line 39 of file iterator.h.
Referenced by research_player_iter_valid_state().
|
inlinestatic |
Definition at line 31 of file iterator.h.
Referenced by unit_cargo_depth().
|
inlinestatic |
Definition at line 47 of file iterator.h.
Referenced by unit_cargo_depth().