42 while (NULL != node) {
43 int comparison =
comp(node->data, search);
55 if (0 == comparison) {
84 node->data = successor->data;
101 if (NULL != child &&
rbRed == child->color) {
174 Tree parent = node->parent;
#define TREE_PARENT(node)
static int comp(const void *_a, const void *_b)
void * treeDelete(Tree *this, const void *search, TreeComp comp)
Tree inOrderSuccessor(Tree)
int(* TreeComp)(const void *, const void *)
void treeRotateRight(Tree *, Tree)
void treeRotateLeft(Tree *, Tree)
#define TREE_REPLACE_NODE(root, node1, node2)
#define TREE_SIBLING(node)