1 #pragma once 2 #ifndef MURMUR_H 3 #define MURMUR_H 4 5 /************************************************************************************************** 6 * MurmurHash3 was written by Austin Appleby, and is placed in the 7 * public domain. The author hereby disclaims copyright to this source 8 * code. 9 *************************************************************************************************/ 10 11 #include "basedefs.h" 12 13 IW_EXTERN_C_START 14 15 IW_EXPORT void murmur3_set_seed(const uint32_t seed); 16 17 IW_EXPORT uint32_t murmur3(const char *key, size_t len); 18 19 IW_EXTERN_C_END 20 21 #endif 22