ucx/avl.h

changeset 199
e25dc68336ec
parent 196
1b4cdafef2eb
child 204
4477987d40cd
equal deleted inserted replaced
198:b0f4fb043b47 199:e25dc68336ec
171 * @param key the key 171 * @param key the key
172 * @return the removed value (or <code>NULL</code>, if the key was not present) 172 * @return the removed value (or <code>NULL</code>, if the key was not present)
173 */ 173 */
174 void* ucx_avl_remove(UcxAVLTree *tree, intptr_t key); 174 void* ucx_avl_remove(UcxAVLTree *tree, intptr_t key);
175 175
176 176 /**
177 * Counts the nodes in the specified UcxAVLTree.
178 * @param tree the AVL tree
179 * @return the node count
180 */
181 size_t ucx_avl_count(UcxAVLTree *tree);
177 182
178 #ifdef __cplusplus 183 #ifdef __cplusplus
179 } 184 }
180 #endif 185 #endif
181 186

mercurial