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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-01-31 16:22:46 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-01-31 16:22:46 +0300
commit7ccef23c4d010d4b4f83efe2cd6c82ff26824a10 (patch)
tree103ece07c4a824dcc38a0daed564419cb29062b6 /source/blender/blenlib/BLI_console.h
parent9a7ea778b37538b0ff479c7fcbf00cdfe721d7fb (diff)
Add C++ guards to some blenlib headers
Diffstat (limited to 'source/blender/blenlib/BLI_console.h')
-rw-r--r--source/blender/blenlib/BLI_console.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_console.h b/source/blender/blenlib/BLI_console.h
index bf433f78f70..66d6846fbc2 100644
--- a/source/blender/blenlib/BLI_console.h
+++ b/source/blender/blenlib/BLI_console.h
@@ -26,6 +26,10 @@
#ifndef __BLI_CONSOLE_H__
#define __BLI_CONSOLE_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file BLI_console.h
* \ingroup bli
* \brief Set of utility functions and constants to work with consoles.
@@ -39,4 +43,8 @@
/* Marker which indicates that colored output is finished. */
#define TRUECOLOR_ANSI_COLOR_FINISH "\x1b[0m"
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BLI_CONSOLE_H__ */