diff -r b7753273f0fd -r 5d28dc8f0765 docs/src/modules.md --- a/docs/src/modules.md Mon May 14 18:23:35 2018 +0200 +++ b/docs/src/modules.md Mon May 14 18:25:20 2018 +0200 @@ -69,7 +69,7 @@ * Source code */ -UcxAVLTree* tree = ucx_avl_new(ucx_longintcmp); +UcxAVLTree* tree = ucx_avl_new(ucx_cmp_longint); /* ... populate tree with objects, use '& MyObject.ts' as key ... */ @@ -81,7 +81,7 @@ for ( UcxAVLNode* node = ucx_avl_find_node( tree, (intptr_t) &ts_start, - ucx_longintdist, UCX_AVL_FIND_LOWER_BOUNDED); + ucx_dist_longint, UCX_AVL_FIND_LOWER_BOUNDED); node && (*(time_t*)node->key) <= ts_end; node = ucx_avl_succ(node) ) {