summaryrefslogtreecommitdiffstats
path: root/zix/bitset.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/bitset.h')
-rw-r--r--zix/bitset.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zix/bitset.h b/zix/bitset.h
index 0e31063..5214669 100644
--- a/zix/bitset.h
+++ b/zix/bitset.h
@@ -74,20 +74,20 @@ zix_bitset_reset(ZixBitset* b, ZixBitsetTally* t, size_t i);
/**
Return the `i`th bit in `t`.
*/
-ZIX_API bool
+ZIX_PURE_API bool
zix_bitset_get(const ZixBitset* b, size_t i);
/**
Return the number of set bits in `b` up to bit `i` (non-inclusive).
*/
-ZIX_API size_t
+ZIX_PURE_API size_t
zix_bitset_count_up_to(const ZixBitset* b, const ZixBitsetTally* t, size_t i);
/**
Return the number of set bits in `b` up to bit `i` (non-inclusive) if bit
`i` is set, or (size_t)-1 otherwise.
*/
-ZIX_API size_t
+ZIX_PURE_API size_t
zix_bitset_count_up_to_if(const ZixBitset* b, const ZixBitsetTally* t, size_t i);
/**