|
cdsa
Arena allocators and friends
|
Represents a dictionary of key-data pairs. More...
#include <dict.h>
Data Fields | |
| Arena * | arena |
| Pointer to an arena allocator. | |
| struct { | |
| long size | |
| Size of the item data in bytes. | |
| DictDataCopy * copy | |
| Pointer to a data copy function. | |
| } | data |
| Data properties. | |
| long | length |
| Number of items in the dict. | |
| DictItem * | begin |
| Pointer to root item of the dict. | |
| DictItem * | end |
| Pointer to last item of the dict. | |
Represents a dictionary of key-data pairs.