Function inttree_element_space

Function Documentation

static inline size_t inttree_element_space(size_t max_elts)

Calculate the # of bytes that the inttree will require if RCSW_NOALLOC_DATA is passed to manage a specified # of elements of a specified size.

Parameters:

max_elts – # of desired elements the tree will hold

Returns:

The total # of bytes the application would need to allocate