summaryrefslogtreecommitdiffstats
path: root/zix/hash.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-07 20:00:56 +0100
committerDavid Robillard <d@drobilla.net>2019-01-07 20:00:56 +0100
commit8489a1a91e254f8bc987c2a5b65791dee1120c5c (patch)
treedd667ffbf9edf4c8f7034ca7e4f9d878ef8b1c43 /zix/hash.h
parenta3034c7d34b86a122635e5fe93bbd3e07856fc22 (diff)
downloadzix-8489a1a91e254f8bc987c2a5b65791dee1120c5c.tar.gz
zix-8489a1a91e254f8bc987c2a5b65791dee1120c5c.tar.bz2
zix-8489a1a91e254f8bc987c2a5b65791dee1120c5c.zip
Make zix_hash_insert() provide a non-const pointer
Diffstat (limited to 'zix/hash.h')
-rw-r--r--zix/hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zix/hash.h b/zix/hash.h
index 58e0e23..9546a64 100644
--- a/zix/hash.h
+++ b/zix/hash.h
@@ -91,9 +91,9 @@ zix_hash_size(const ZixHash* hash);
@return ZIX_STATUS_SUCCESS, ZIX_STATUS_EXISTS, or ZIX_STATUS_NO_MEM.
*/
ZIX_API ZixStatus
-zix_hash_insert(ZixHash* hash,
- const void* value,
- const void** inserted);
+zix_hash_insert(ZixHash* hash,
+ const void* value,
+ void** inserted);
/**
Remove an item from `hash`.