diff options
author | David Robillard <d@drobilla.net> | 2020-11-11 13:28:26 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-11 13:28:26 +0100 |
commit | f02ff178ad0fc9c180a718cfa6786e2e5465f28a (patch) | |
tree | 7bcd14c417bb5d1d43503ec0dd2137749c81972e /src/zix/btree.h | |
parent | 3faa8cc20b2c0fd3ba414e5af2bbddc96cd30f7c (diff) | |
download | sord-f02ff178ad0fc9c180a718cfa6786e2e5465f28a.tar.gz sord-f02ff178ad0fc9c180a718cfa6786e2e5465f28a.tar.bz2 sord-f02ff178ad0fc9c180a718cfa6786e2e5465f28a.zip |
Update zix
Diffstat (limited to 'src/zix/btree.h')
-rw-r--r-- | src/zix/btree.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zix/btree.h b/src/zix/btree.h index 4c972f6..c1610a8 100644 --- a/src/zix/btree.h +++ b/src/zix/btree.h @@ -68,7 +68,7 @@ zix_btree_free(ZixBTree* t); /** Return the number of elements in `t`. */ -ZIX_API size_t +ZIX_PURE_API size_t zix_btree_size(const ZixBTree* t); /** @@ -113,7 +113,7 @@ zix_btree_lower_bound(const ZixBTree* t, const void* e, ZixBTreeIter** ti); /** Return the data associated with the given tree item. */ -ZIX_API void* +ZIX_PURE_API void* zix_btree_get(const ZixBTreeIter* ti); /** @@ -121,7 +121,7 @@ zix_btree_get(const ZixBTreeIter* ti); The returned iterator must be freed with zix_btree_iter_free(). */ -ZIX_API ZixBTreeIter* +ZIX_PURE_API ZixBTreeIter* zix_btree_begin(const ZixBTree* t); /** @@ -141,13 +141,13 @@ zix_btree_iter_copy(const ZixBTreeIter* i); /** Return true iff `lhs` is equal to `rhs`. */ -ZIX_API bool +ZIX_PURE_API bool zix_btree_iter_equals(const ZixBTreeIter* lhs, const ZixBTreeIter* rhs); /** Return true iff `i` is an iterator to the end of its tree. */ -ZIX_API bool +ZIX_PURE_API bool zix_btree_iter_is_end(const ZixBTreeIter* i); /** |