Function darray_capacity

Function Documentation

static inline size_t darray_capacity(const struct darray *const arr)

Determine array capacity.

Parameters:

arr – The dynamic array handle.

Returns:

# elements in arr, or 0 on ERROR.