Function darray_size

Function Documentation

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

Determine # elements currently in the darray.

Parameters:

arr – The dynamic array handle

Returns:

# elements in arr, or 0 on ERROR