Function inttree_meta_space

Function Documentation

static inline size_t inttree_meta_space(size_t max_elts)

Calculate the space needed for the nodes in the inttree, given a max # of elements.

Used in conjunction with RCSW_NOALLOC_META.

Parameters:

max_elts – # of desired elements the tree will hold

Returns:

The # of bytes required