summaryrefslogtreecommitdiffstats
path: root/zix/hash.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-13 10:59:07 +0100
committerDavid Robillard <d@drobilla.net>2018-11-13 10:59:07 +0100
commitaefc020257e5cf89ecec036a33ef1637297cecf7 (patch)
treecdfea585a1be1432a7ee1dd98611ac8c70e4f5d5 /zix/hash.h
parent734ca87bf6608ce018b995acb05e4ac61c30d8a9 (diff)
downloadzix-aefc020257e5cf89ecec036a33ef1637297cecf7.tar.gz
zix-aefc020257e5cf89ecec036a33ef1637297cecf7.tar.bz2
zix-aefc020257e5cf89ecec036a33ef1637297cecf7.zip
Make hash return non-const pointers
Diffstat (limited to 'zix/hash.h')
-rw-r--r--zix/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zix/hash.h b/zix/hash.h
index e95b773..68cbbe6 100644
--- a/zix/hash.h
+++ b/zix/hash.h
@@ -1,5 +1,5 @@
/*
- Copyright 2011-2012 David Robillard <http://drobilla.net>
+ Copyright 2011-2015 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -112,7 +112,7 @@ zix_hash_remove(ZixHash* hash,
@param hash The hash table.
@param value The value to search for.
*/
-ZIX_API const void*
+ZIX_API void*
zix_hash_find(const ZixHash* hash,
const void* value);