Function bstree_init_internal
Defined in File bstree.h
Function Documentation
- struct bstree * bstree_init_internal (struct bstree *tree_in, const struct bstree_params *params, size_t node_size) RCSW_WUR
Initialize a binary search (or related) tree, which may have different node sizes.
This should NEVER be called by an application—for internal use only.
- Parameters:
tree_in – The BST handle to be filled. Must be non-NULL if RCSW_NOALLOC_HANDLE passed in bstree_params::flags.
params – Initialization parameters
node_size – The size of the nodes in the tree, in bytes
- Returns:
The initialized tree, or NULL if an error occurred