tree_add function <BLOC/tree.h>
The tree_add function adds an object to a tree. If the tree has a type requirement, and the object does not match, the call will return instantly.
Syntax
void tree_add( Tree *tree, void *obj );
Parameters
tree
A pointer to a Tree object.
obj
A pointer to the object to be added to the tree. The tree will take a reference to the object internally.