Function bstree_size

Function Documentation

static inline size_t bstree_size(const struct bstree *const bst)

Determine # elements currently a bstree.

Parameters:

bst – The BST handle

Returns:

# elements in bst, or 0 on ERROR