IterableEntry structure <BLOC/iterator.h>
The IterableEntry structure describes an entry in an Iterable collection. This structure is not an object, and must be allocated manually by any iterable object implementations. If an iterable object needs more fields, they should embed this structure in their own custom entry structure.
Syntax
struct IterableEntry { struct IterableEntry *prev, *next; void *obj; };
Members
prev
A pointer to the previous entry in the iterable set.
If this entry is the first, this value will be NULL.
next
A pointer to the next entry in the iterable set.
If this entry is the last, this value will be NULL.
obj
A reference pointer to the object held by this entry. All entries must contain a valid reference to an object.