summaryrefslogtreecommitdiffstats
path: root/contrib/murmurhash3/murmurhash3.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/murmurhash3/murmurhash3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/murmurhash3/murmurhash3.h b/contrib/murmurhash3/murmurhash3.h
new file mode 100644
index 0000000..d849961
--- /dev/null
+++ b/contrib/murmurhash3/murmurhash3.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: CC0-1.0
+ * Source: https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp */
+
+#pragma once
+
+#include <stdlib.h>
+#include <stdint.h>
+
+uint32_t hash(const char* data, size_t len);