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:
-rw-r--r--source/blender/blenlib/BLI_ghash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h
index 5c1c06b78ac..0e467b02110 100644
--- a/source/blender/blenlib/BLI_ghash.h
+++ b/source/blender/blenlib/BLI_ghash.h
@@ -32,6 +32,10 @@
#ifndef BLI_GHASH_H
#define BLI_GHASH_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
@@ -264,4 +268,8 @@ BM_INLINE int BLI_ghash_haskey(GHash *gh, void *key) {
return 0;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif