murmur3.h 792 B

1234567891011121314151617181920212223242526272829
  1. //-----------------------------------------------------------------------------
  2. // MurmurHash3 was written by Austin Appleby, and is placed in the
  3. // public domain. The author hereby disclaims copyright to this source
  4. // code.
  5. #ifndef _MURMURHASH3_H_
  6. #define _MURMURHASH3_H_
  7. #include <stdint.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. void MurmurHash3_x86_32 (const void *key, int len, uint32_t seed, void *out);
  13. void MurmurHash3_x86_128(const void *key, int len, uint32_t seed, void *out);
  14. void MurmurHash3_x64_128(const void *key, int len, uint32_t seed, void *out);
  15. //-----------------------------------------------------------------------------
  16. #ifdef __cplusplus
  17. }
  18. #endif
  19. #endif // _MURMURHASH3_H_