void * array_get(const t_array *array, size_t index)
Returns the item at the specified position in this list.
t_array * array_copy(const t_array *array)
Copies the array and all it contents.
const t_type * type
The type of items in this array.
t_array * array_zeros(const t_type *type, size_t size)
Initializes a new array of the specified size, filled with zeros.
size_t capacity
The capacity of this array.
size_t size
The number of items in this array.
void array_set(t_array *array, size_t index, const void *content)
Replaces the element at the specified position in this array with a copy of the specified element.