Function binheap_size

Function Documentation

static inline size_t binheap_size(const struct binheap *const heap)

Determine # elements currently in the heap.

Parameters:

heap – The heap handle.

Returns:

# elements in heap, or 0 on ERROR.