diff options
Diffstat (limited to 'src/zix/hash.h')
-rw-r--r-- | src/zix/hash.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/zix/hash.h b/src/zix/hash.h index db24c45..9546a64 100644 --- a/src/zix/hash.h +++ b/src/zix/hash.h @@ -17,11 +17,11 @@ #ifndef ZIX_HASH_H #define ZIX_HASH_H +#include "zix/common.h" + #include <stddef.h> #include <stdint.h> -#include "zix/common.h" - #ifdef __cplusplus extern "C" { #endif @@ -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`. @@ -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); |