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/blenkernel/BKE_studiolight.h')
-rw-r--r--source/blender/blenkernel/BKE_studiolight.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_studiolight.h b/source/blender/blenkernel/BKE_studiolight.h
index c6d1e61fb47..ff11f581cc4 100644
--- a/source/blender/blenkernel/BKE_studiolight.h
+++ b/source/blender/blenkernel/BKE_studiolight.h
@@ -32,6 +32,10 @@
#include "DNA_userdef_types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ImBuf;
/*
@@ -161,4 +165,8 @@ void BKE_studiolight_set_free_function(StudioLight *sl,
void *data);
void BKE_studiolight_unset_icon_id(StudioLight *sl, int icon_id);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BKE_STUDIOLIGHT_H__ */