summaryrefslogtreecommitdiff
path: root/murmurhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'murmurhash.h')
-rw-r--r--murmurhash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/murmurhash.h b/murmurhash.h
index 7d60d65..6a4dfbc 100644
--- a/murmurhash.h
+++ b/murmurhash.h
@@ -10,6 +10,10 @@
#define MURMURHASH_VERSION "0.0.3"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Returns a murmur hash of `key' based on `seed'
* using the MurmurHash3 algorithm
@@ -18,4 +22,8 @@
uint32_t
murmurhash (const char *, uint32_t, uint32_t);
+#ifdef __cplusplus
+}
+#endif
+
#endif