diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 03:51:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 03:51:27 +0000 |
commit | 7b21b438b02d8ff14ae079a0734b1a9e51b7c453 (patch) | |
tree | f99c8b6a69cdf078900a62bd1fde4d3308b84ccb /src/zix/hash.h | |
parent | f08ab45ec226e01e4e6a77ced66e30176b30e5cd (diff) | |
download | sord-7b21b438b02d8ff14ae079a0734b1a9e51b7c453.tar.gz sord-7b21b438b02d8ff14ae079a0734b1a9e51b7c453.tar.bz2 sord-7b21b438b02d8ff14ae079a0734b1a9e51b7c453.zip |
Hide zix symbols (fix static builds with lilv).
git-svn-id: http://svn.drobilla.net/sord/trunk@248 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/zix/hash.h')
-rw-r--r-- | src/zix/hash.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/zix/hash.h b/src/zix/hash.h index 44521f1..4d93eaa 100644 --- a/src/zix/hash.h +++ b/src/zix/hash.h @@ -30,40 +30,32 @@ typedef struct ZixHashImpl ZixHash; */ typedef unsigned (*ZixHashFunc)(const void* key); -ZIX_API -ZixHash* +ZIX_API ZixHash* zix_hash_new(ZixHashFunc hash_func, ZixEqualFunc key_equal_func); -ZIX_API -void +ZIX_API void zix_hash_free(ZixHash* hash); -ZIX_API -unsigned +ZIX_API unsigned zix_string_hash(const void* key); -ZIX_API -bool +ZIX_API bool zix_string_equal(const void* a, const void* b); -ZIX_API -ZixStatus +ZIX_API ZixStatus zix_hash_insert(ZixHash* hash, const void* key, void* data); -ZIX_API -ZixStatus +ZIX_API ZixStatus zix_hash_remove(ZixHash* hash, const void* key); -ZIX_API -void* +ZIX_API void* zix_hash_find(const ZixHash* hash, const void* key); -ZIX_API -void +ZIX_API void zix_hash_foreach(const ZixHash* hash, void (*f)(const void* key, void* value, void* user_data), void* user_data); |