cdsa
Arena allocators and friends
|
Represents a doubly linked list. More...
#include <list.h>
Data Fields | |
Arena * | arena |
Pointer to an arena allocator. | |
struct { | |
long size | |
Size of the item data in bytes. | |
ListDataCompare * compare | |
Pointer to a data comparison function. | |
ListDataCopy * copy | |
Pointer to a data copy function. | |
} | data |
Data properties. | |
long | length |
Number of items in the list. | |
ListItem * | begin |
Pointer to first item of the list. | |
ListItem * | end |
Pointer to last item of the list. | |
Represents a doubly linked list.