summaryrefslogtreecommitdiffstats
path: root/src/zix/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zix/tree.h')
-rw-r--r--src/zix/tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zix/tree.h b/src/zix/tree.h
index f89d9e5..4b6e039 100644
--- a/src/zix/tree.h
+++ b/src/zix/tree.h
@@ -86,7 +86,7 @@ zix_tree_find(const ZixTree* t, const void* e, ZixTreeIter** ti);
Return the data associated with the given tree item.
*/
ZIX_API void*
-zix_tree_get(ZixTreeIter* ti);
+zix_tree_get(const ZixTreeIter* ti);
/**
Return an iterator to the first (smallest) element in @a t.
@@ -104,7 +104,7 @@ zix_tree_end(ZixTree* t);
Return true iff @a i is an iterator to the end of its tree.
*/
ZIX_API bool
-zix_tree_iter_is_end(ZixTreeIter* i);
+zix_tree_iter_is_end(const ZixTreeIter* i);
/**
Return an iterator to the last (largest) element in @a t.
@@ -122,7 +122,7 @@ zix_tree_rend(ZixTree* t);
Return true iff @a i is an iterator to the reverse end of its tree.
*/
ZIX_API bool
-zix_tree_iter_is_rend(ZixTreeIter* i);
+zix_tree_iter_is_rend(const ZixTreeIter* i);
/**
Return an iterator that points to the element one past @a i.