src/ucx/avl.h

changeset 308
d6f580621512
parent 287
98da78a1e69a
child 312
e1e3b768ae8b
equal deleted inserted replaced
306:90b6d69bb499 308:d6f580621512
123 /** 123 /**
124 * Initializes a new UcxAVLTree with the specified allocator. 124 * Initializes a new UcxAVLTree with the specified allocator.
125 * 125 *
126 * The cmpfunc should be capable of comparing two keys within this AVL tree. 126 * The cmpfunc should be capable of comparing two keys within this AVL tree.
127 * So if you want to use null terminated strings as keys, you could use the 127 * So if you want to use null terminated strings as keys, you could use the
128 * ucx_strcmp() function here. 128 * ucx_cmp_str() function here.
129 * 129 *
130 * @param cmpfunc the compare function that shall be used 130 * @param cmpfunc the compare function that shall be used
131 * @param allocator the UcxAllocator that shall be used 131 * @param allocator the UcxAllocator that shall be used
132 * @return a new UcxAVLTree object 132 * @return a new UcxAVLTree object
133 */ 133 */

mercurial