Function bstree_destroy

Function Documentation

void bstree_destroy(struct bstree *tree)

Destroy a binary search tree.

Any further use of the tree after calling this function is undefined.

Parameters:

tree – The BST to destroy