diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-08-14 21:02:59 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-08-14 21:02:59 +0000 |
commit | d4c648197db2b8fdbc0fdc9583a8f7c58e019c4c (patch) | |
tree | 6643e9e63325c1541114fd36bc07bb8c4556e1f7 /src/include/skalibs/avlnode.h | |
parent | 7bf3e29007350897cb708da01df845f4d58b4173 (diff) | |
download | skalibs-d4c648197db2b8fdbc0fdc9583a8f7c58e019c4c.tar.xz |
Remove avl*_deletenode() macros, document all added functions
Diffstat (limited to 'src/include/skalibs/avlnode.h')
-rw-r--r-- | src/include/skalibs/avlnode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/skalibs/avlnode.h b/src/include/skalibs/avlnode.h index 69e507b..554a185 100644 --- a/src/include/skalibs/avlnode.h +++ b/src/include/skalibs/avlnode.h @@ -38,7 +38,6 @@ extern int avlnode_extreme (avlnode const *, uint32_t, uint32_t, int, uint32_t * extern uint32_t avlnode_insertnode (avlnode *, uint32_t, uint32_t, uint32_t, dtokfunc_t_ref, cmpfunc_t_ref, void *) ; extern uint32_t avlnode_delete (avlnode *, uint32_t, uint32_t *, void const *, dtokfunc_t_ref, cmpfunc_t_ref, void *) ; -#define avlnode_deletenode(s, max, r, i, dtok, f, p) avlnode_delete(s, max, r, (*(dtok))((s)[i].data), dtok, f, p) extern uint32_t avlnode_iter_nocancel (avlnode *, uint32_t, uint32_t, uint32_t, avliterfunc_t_ref, void *) ; #define avlnode_iter(tree, max, root, f, stuff) (avlnode_iter_nocancel(tree, max, max, root, f, stuff) == (max)) |