summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Werle <joseph.werle@gmail.com>2015-03-07 17:03:23 -0500
committerJoseph Werle <joseph.werle@gmail.com>2015-03-07 17:03:23 -0500
commit64c1434eec84453989bbb30384ae95cca74db95b (patch)
tree798cda0ca6962b4bc915006c0cdde750521f4224
parentcadaff851a720ec3c2997a7a7a64a25327938e74 (diff)
Update 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