docs/src/modules.md

changeset 314
5d28dc8f0765
parent 310
b09677d72413
child 321
9af21a50b516
     1.1 --- a/docs/src/modules.md	Mon May 14 18:23:35 2018 +0200
     1.2 +++ b/docs/src/modules.md	Mon May 14 18:25:20 2018 +0200
     1.3 @@ -69,7 +69,7 @@
     1.4   * Source code
     1.5   */
     1.6  
     1.7 -UcxAVLTree* tree = ucx_avl_new(ucx_longintcmp);
     1.8 +UcxAVLTree* tree = ucx_avl_new(ucx_cmp_longint);
     1.9  /* ... populate tree with objects, use '& MyObject.ts' as key ... */
    1.10  
    1.11  
    1.12 @@ -81,7 +81,7 @@
    1.13  for (
    1.14          UcxAVLNode* node = ucx_avl_find_node(
    1.15              tree, (intptr_t) &ts_start,
    1.16 -            ucx_longintdist, UCX_AVL_FIND_LOWER_BOUNDED);
    1.17 +            ucx_dist_longint, UCX_AVL_FIND_LOWER_BOUNDED);
    1.18          node && (*(time_t*)node->key) <= ts_end;
    1.19          node = ucx_avl_succ(node)
    1.20      ) {

mercurial