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:
Diffstat (limited to 'source/blender/makesdna/DNA_hair_types.h')
-rw-r--r--source/blender/makesdna/DNA_hair_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_hair_types.h b/source/blender/makesdna/DNA_hair_types.h
index 27799560395..2e819b32033 100644
--- a/source/blender/makesdna/DNA_hair_types.h
+++ b/source/blender/makesdna/DNA_hair_types.h
@@ -23,6 +23,10 @@
#include "DNA_ID.h"
#include "DNA_customdata_types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct HairCurve {
/* Index of first point of hair curve. */
int firstpoint;
@@ -75,3 +79,7 @@ enum {
/* Only one material supported currently. */
#define HAIR_MATERIAL_NR 1
+
+#ifdef __cplusplus
+}
+#endif