36 #ifndef LIBAVL_ALLOCATOR
37 #define LIBAVL_ALLOCATOR
52 #ifndef AVL_MAX_HEIGHT
53 #define AVL_MAX_HEIGHT 32
100 #define avl_count(table) ((size_t) (table)->avl_count)
void avl_item_func(void *avl_item, void *avl_param)
struct avl_node * avl_node
unsigned long avl_generation
struct avl_node * avl_link[2]
unsigned long avl_generation
void(* libavl_free)(struct libavl_allocator *, void *libavl_block)
void avl_free(struct libavl_allocator *allocator, void *block)
void * avl_copy_func(void *avl_item, void *avl_param)
struct avl_node * avl_stack[AVL_MAX_HEIGHT]
int avl_comparison_func(const void *avl_a, const void *avl_b, void *avl_param)
struct avl_node * avl_root
#define avl_assert_delete
struct libavl_allocator avl_allocator_default
avl_comparison_func * avl_compare
struct libavl_allocator * avl_alloc
#define avl_assert_insert
void * avl_malloc(struct libavl_allocator *allocator, size_t size)
struct avl_table * avl_table