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:
authorJacques Lucke <jacques@blender.org>2020-03-02 17:20:13 +0300
committerJacques Lucke <jacques@blender.org>2020-03-02 17:20:13 +0300
commitd8198b27df200cd14c9f9d5b55db73dc55f4cb5a (patch)
tree71647fb229bd35160c520a95240d66e9e58eafbb /source/blender/imbuf/IMB_colormanagement.h
parent680b70f093168af700eff2b74bafe41165f88c32 (diff)
Cleanup: make remaining imbuf headers work in C++
Diffstat (limited to 'source/blender/imbuf/IMB_colormanagement.h')
-rw-r--r--source/blender/imbuf/IMB_colormanagement.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_colormanagement.h b/source/blender/imbuf/IMB_colormanagement.h
index a94a9797a35..5e5b3e85b38 100644
--- a/source/blender/imbuf/IMB_colormanagement.h
+++ b/source/blender/imbuf/IMB_colormanagement.h
@@ -27,6 +27,10 @@
#include "BLI_sys_types.h"
#include "BLI_compiler_compat.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define BCM_CONFIG_FILE "config.ocio"
struct ColorManagedColorspaceSettings;
@@ -363,6 +367,10 @@ enum {
COLOR_ROLE_DATA,
};
+#ifdef __cplusplus
+}
+#endif
+
#include "intern/colormanagement_inline.c"
#endif /* __IMB_COLORMANAGEMENT_H__ */