Function darray_data_get
Defined in File darray.h
Function Documentation
-
void *darray_data_get(const struct darray *arr, size_t index)
Retrieve an item from an darray.
Returns the item at the specified index. There is NO upper bounds checking to make sure that index < darray_size().
- Parameters:
arr – The darray handle.
index – The index to get the data for.
- Returns:
: The element, or NULL if an error occurred