Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-03-02 17:04:53 +0300
committerJacques Lucke <jacques@blender.org>2020-03-02 17:05:15 +0300
commitcf93b65a65f948d4014d3fd2f7541ffe1b2209d4 (patch)
tree015451f3485396c208bf7054bb3460ba7349b263 /source/blender/blenlib/BLI_hash_mm2a.h
parent5afa4b1dc8aacdd17f72a2bcaccd53838107c229 (diff)
Cleanup: make remaining blenlib headers work in C++
Differential Revision: https://developer.blender.org/D6988 Reviewers: brecht
Diffstat (limited to 'source/blender/blenlib/BLI_hash_mm2a.h')
-rw-r--r--source/blender/blenlib/BLI_hash_mm2a.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_hash_mm2a.h b/source/blender/blenlib/BLI_hash_mm2a.h
index cafa52205c7..840ff31dd19 100644
--- a/source/blender/blenlib/BLI_hash_mm2a.h
+++ b/source/blender/blenlib/BLI_hash_mm2a.h
@@ -23,6 +23,10 @@
#include "BLI_sys_types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct BLI_HashMurmur2A {
uint32_t hash;
uint32_t tail;
@@ -40,4 +44,8 @@ uint32_t BLI_hash_mm2a_end(BLI_HashMurmur2A *mm2);
uint32_t BLI_hash_mm2(const unsigned char *data, size_t len, uint32_t seed);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BLI_HASH_MM2A_H__ */