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_light_types.h')
-rw-r--r--source/blender/makesdna/DNA_light_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_light_types.h b/source/blender/makesdna/DNA_light_types.h
index 1616cf949bd..9ca75347d23 100644
--- a/source/blender/makesdna/DNA_light_types.h
+++ b/source/blender/makesdna/DNA_light_types.h
@@ -26,6 +26,10 @@
#include "DNA_ID.h"
#include "DNA_defs.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef MAX_MTEX
# define MAX_MTEX 18
#endif
@@ -154,3 +158,7 @@ typedef struct Light {
/* #define LA_AREA_BOX 3 */ /* UNUSED */
#define LA_AREA_DISK 4
#define LA_AREA_ELLIPSE 5
+
+#ifdef __cplusplus
+}
+#endif