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_effect_types.h')
-rw-r--r--source/blender/makesdna/DNA_effect_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_effect_types.h b/source/blender/makesdna/DNA_effect_types.h
index c25e9d0dded..33f2e1b47c0 100644
--- a/source/blender/makesdna/DNA_effect_types.h
+++ b/source/blender/makesdna/DNA_effect_types.h
@@ -23,6 +23,10 @@
#pragma once
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* don't forget, new effects also in writefile.c for dna!!! */
#define PAF_MAXMULT 4
@@ -129,3 +133,7 @@ typedef struct WaveEff {
float timeoffs, lifetime;
} WaveEff;
+
+#ifdef __cplusplus
+}
+#endif