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/editors/include/ED_text.h')
-rw-r--r--source/blender/editors/include/ED_text.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_text.h b/source/blender/editors/include/ED_text.h
index ade1dde6c33..98370b34665 100644
--- a/source/blender/editors/include/ED_text.h
+++ b/source/blender/editors/include/ED_text.h
@@ -24,6 +24,10 @@
#ifndef __ED_TEXT_H__
#define __ED_TEXT_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ARegion;
struct SpaceText;
struct Text;
@@ -44,4 +48,8 @@ struct UndoStep *ED_text_undo_push_init(struct bContext *C);
/* text_format.c */
bool ED_text_is_syntax_highlight_supported(struct Text *text);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __ED_TEXT_H__ */