diff options
Diffstat (limited to 'src/zix/tree.c')
-rw-r--r-- | src/zix/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zix/tree.c b/src/zix/tree.c index 844adb9..9915e89 100644 --- a/src/zix/tree.c +++ b/src/zix/tree.c @@ -612,7 +612,7 @@ zix_tree_find(const ZixTree* t, const void* e, ZixTreeIter** ti) } ZIX_API void* -zix_tree_get(ZixTreeIter* ti) +zix_tree_get(const ZixTreeIter* ti) { return ti ? ti->data : NULL; } @@ -658,13 +658,13 @@ zix_tree_rend(ZixTree* t) } ZIX_API bool -zix_tree_iter_is_end(ZixTreeIter* i) +zix_tree_iter_is_end(const ZixTreeIter* i) { return !i; } ZIX_API bool -zix_tree_iter_is_rend(ZixTreeIter* i) +zix_tree_iter_is_rend(const ZixTreeIter* i) { return !i; } |