132 * @return a new UcxAVLTree object |
132 * @return a new UcxAVLTree object |
133 */ |
133 */ |
134 UcxAVLTree *ucx_avl_new_a(cmp_func cmpfunc, UcxAllocator *allocator); |
134 UcxAVLTree *ucx_avl_new_a(cmp_func cmpfunc, UcxAllocator *allocator); |
135 |
135 |
136 /** |
136 /** |
|
137 * Destroys an UcxAVLTree. |
|
138 * @param tree the tree to destroy |
|
139 */ |
|
140 void ucx_avl_free(UcxAVLTree *tree); |
|
141 |
|
142 /** |
137 * Macro for initializing a new UcxAVLTree with the default allocator and a |
143 * Macro for initializing a new UcxAVLTree with the default allocator and a |
138 * ucx_ptrcmp() compare function. |
144 * ucx_ptrcmp() compare function. |
139 * |
145 * |
140 * @return a new default UcxAVLTree object |
146 * @return a new default UcxAVLTree object |
141 */ |
147 */ |