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/editors/include/UI_interface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index c8ae4c019e7..a808e24ded3 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -28,6 +28,10 @@
#include "BLI_sys_types.h" /* size_t */
#include "RNA_types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Struct Declarations */
struct ARegion;
@@ -2484,4 +2488,8 @@ void UI_interface_tag_script_reload(void);
/* Support click-drag motion which presses the button and closes a popover (like a menu). */
#define USE_UI_POPOVER_ONCE
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __UI_INTERFACE_H__ */