data_structures
|
A resizable array. More...
#include <array.h>
Data Fields | |
size_t | size |
The number of items in this array. More... | |
size_t | capacity |
The capacity of this array. More... | |
void ** | arr |
The data. More... | |
const t_type * | type |
The type of items in this array. More... | |
A resizable array.
The array will double in size when its capacity is filled, and halve its size when only 1/4
of its capacity is used.