gfx/angle/src/third_party/murmurhash/MurmurHash3.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/angle/src/third_party/murmurhash/MurmurHash3.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +//-----------------------------------------------------------------------------
     1.5 +// MurmurHash3 was written by Austin Appleby, and is placed in the public
     1.6 +// domain. The author hereby disclaims copyright to this source code.
     1.7 +
     1.8 +#ifndef _MURMURHASH3_H_
     1.9 +#define _MURMURHASH3_H_
    1.10 +
    1.11 +//-----------------------------------------------------------------------------
    1.12 +// Platform-specific functions and macros
    1.13 +
    1.14 +// Microsoft Visual Studio
    1.15 +
    1.16 +#if defined(_MSC_VER)
    1.17 +
    1.18 +typedef unsigned char uint8_t;
    1.19 +typedef unsigned long uint32_t;
    1.20 +typedef unsigned __int64 uint64_t;
    1.21 +
    1.22 +// Other compilers
    1.23 +
    1.24 +#else	// defined(_MSC_VER)
    1.25 +
    1.26 +#include <stdint.h>
    1.27 +
    1.28 +#endif // !defined(_MSC_VER)
    1.29 +
    1.30 +//-----------------------------------------------------------------------------
    1.31 +
    1.32 +void MurmurHash3_x86_32  ( const void * key, int len, uint32_t seed, void * out );
    1.33 +
    1.34 +void MurmurHash3_x86_128 ( const void * key, int len, uint32_t seed, void * out );
    1.35 +
    1.36 +void MurmurHash3_x64_128 ( const void * key, int len, uint32_t seed, void * out );
    1.37 +
    1.38 +//-----------------------------------------------------------------------------
    1.39 +
    1.40 +#endif // _MURMURHASH3_H_
    1.41 \ No newline at end of file

mercurial