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 'intern/opencolorio/ocio_capi.h')
-rw-r--r--intern/opencolorio/ocio_capi.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/intern/opencolorio/ocio_capi.h b/intern/opencolorio/ocio_capi.h
index 0218ccfafcd..f924bffb8e0 100644
--- a/intern/opencolorio/ocio_capi.h
+++ b/intern/opencolorio/ocio_capi.h
@@ -28,8 +28,6 @@
#ifndef __OCIO_CAPI_H__
#define __OCIO_CAPI_H__
-
-
#ifdef __cplusplus
using namespace OCIO_NAMESPACE;
extern "C" {
@@ -37,7 +35,6 @@ extern "C" {
#define OCIO_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name
-
#ifndef OCIO_CAPI_IMPLEMENTATION
#define OCIO_ROLE_SCENE_LINEAR "scene_linear"
#define OCIO_ROLE_COLOR_PICKING "color_picking"
@@ -57,13 +54,15 @@ extern "C" {
OCIO_DECLARE_HANDLE(MatrixTransformRcPtr);
#endif
+void OCIO_init(void);
+void OCIO_exit(void);
ConstConfigRcPtr *OCIO_getCurrentConfig(void);
-ConstConfigRcPtr *OCIO_getDefaultConfig(void);
void OCIO_setCurrentConfig(const ConstConfigRcPtr *config);
ConstConfigRcPtr *OCIO_configCreateFromEnv(void);
ConstConfigRcPtr *OCIO_configCreateFromFile(const char* filename);
+ConstConfigRcPtr *OCIO_configCreateFallback(void);
void OCIO_configRelease(ConstConfigRcPtr *config);
@@ -127,4 +126,4 @@ void OCIO_matrixTransformScale(float * m44, float * offset4, const float * scale
}
#endif
-#endif //OCIO_CAPI_H
+#endif /* OCIO_CAPI_H */