Previous: deleteNode, Up: Private Routines
Allocate a new node and copy data into it.
#include <rbtree/rbtree.h>static Node *newNode( Tree *tree, void *data );
Tree *tree
- the tree that will contain the node
void *data
- the data that the new node will contain
Allocate a new node and copy data into it.