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 |