src/ucx/avl.h

changeset 312
e1e3b768ae8b
parent 308
d6f580621512
     1.1 --- a/src/ucx/avl.h	Mon May 14 18:19:16 2018 +0200
     1.2 +++ b/src/ucx/avl.h	Mon May 14 18:20:56 2018 +0200
     1.3 @@ -166,11 +166,12 @@
     1.4  
     1.5  /**
     1.6   * Macro for initializing a new UcxAVLTree with the default allocator and a
     1.7 - * ucx_ptrcmp() compare function.
     1.8 + * ucx_cmp_ptr() compare function.
     1.9   * 
    1.10   * @return a new default UcxAVLTree object
    1.11   */
    1.12 -#define ucx_avl_default_new() ucx_avl_new_a(ucx_ptrcmp, ucx_default_allocator())
    1.13 +#define ucx_avl_default_new() \
    1.14 +    ucx_avl_new_a(ucx_cmp_ptr, ucx_default_allocator())
    1.15  
    1.16  /**
    1.17   * Gets the node from the tree, that is associated with the specified key.

mercurial