CACAO
Typedefs | Functions
avl.hpp File Reference

Go to the source code of this file.

Typedefs

typedef s4 avl_comparator (const void *treenode, const void *node)
 

Functions

avl_tree_tavl_create (avl_comparator *comparator)
 
bool avl_insert (avl_tree_t *tree, void *data)
 
voidavl_find (avl_tree_t *tree, void *data)
 
void avl_dump (avl_node_t *node, s4 indent)
 

Typedef Documentation

typedef s4 avl_comparator(const void *treenode, const void *node)

Definition at line 36 of file avl.hpp.

Function Documentation

avl_tree_t* avl_create ( avl_comparator comparator)

Definition at line 65 of file avl.cpp.

void avl_dump ( avl_node_t node,
s4  indent 
)

Definition at line 395 of file avl.cpp.

void* avl_find ( avl_tree_t tree,
void data 
)

Definition at line 350 of file avl.cpp.

bool avl_insert ( avl_tree_t tree,
void data 
)

Definition at line 317 of file avl.cpp.