summaryrefslogtreecommitdiffstats
path: root/include/zix/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/hash.h')
-rw-r--r--include/zix/hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zix/hash.h b/include/zix/hash.h
index 2bde652..6cd2271 100644
--- a/include/zix/hash.h
+++ b/include/zix/hash.h
@@ -103,6 +103,7 @@ typedef bool (*ZixKeyEqualFunc)(const ZixHashKey* ZIX_NONNULL a,
@param equal_func A function to test keys for equality.
*/
ZIX_API
+ZIX_NODISCARD
ZixHash* ZIX_ALLOCATED
zix_hash_new(ZixAllocator* ZIX_NULLABLE allocator,
ZixKeyFunc ZIX_NONNULL key_func,