Archived
1
0
Fork 0

rbtree.c: return key instead of using callback.

This commit is contained in:
Henrik Hautakoski 2011-02-01 10:21:57 +01:00
parent 9e185ea920
commit 442e912835
3 changed files with 7 additions and 9 deletions

View file

@ -52,8 +52,8 @@ NOTE: The memory pointed to by the 'key' pointer is *not* copied so you must ens
`rbtree_delete()`::
Deletes a node from the tree. if provided, calls `rbtree->delete_fn` for the node. +
Returns nonzero if a node was removed, zero otherwise.
Deletes a node from the tree. +
Returns the node's key if a node was removed, `NULL` otherwise.
`rbtree_free()`::