Go to the documentation of this file.
4 #ifndef INCLUDED_OCIO_OPENCOLORABI_H
5 #define INCLUDED_OCIO_OPENCOLORABI_H
8 #define OCIO_NAMESPACE sidefx
10 #define OCIO_VERSION_STR "2.2.1"
11 #define OCIO_VERSION_STATUS_STR ""
12 #define OCIO_VERSION_FULL_STR "2.2.1"
15 #define OCIO_VERSION "2.2.1"
22 #define OCIO_VERSION_HEX ((2 << 24) | \
26 #define OCIO_VERSION_MAJOR 2
27 #define OCIO_VERSION_MINOR 2
32 #define OCIO_DEPRECATED(msg) __declspec(deprecated(msg))
33 #elif __cplusplus >= 201402L
34 #define OCIO_DEPRECATED(msg) [[deprecated(msg)]]
35 #elif defined(__GNUC__) || defined(__clang__)
36 #define OCIO_DEPRECATED(msg) __attribute__((deprecated(msg)))
38 #define OCIO_DEPRECATED(msg)
44 #define OCIO_SHARED_PTR std::shared_ptr
45 #define OCIO_DYNAMIC_POINTER_CAST std::dynamic_pointer_cast
50 #if defined(_WIN32) || defined(__CYGWIN__)
53 #ifndef OpenColorIO_SKIP_IMPORTS
54 #if defined OpenColorIO_EXPORTS
55 #define OCIOEXPORT __declspec(dllexport)
57 #define OCIOEXPORT __declspec(dllimport)
63 #elif defined __GNUC__
64 #define OCIOEXPORT __attribute__ ((visibility("default")))
65 #define OCIOHIDDEN __attribute__ ((visibility("hidden")))
66 #else // Others platforms not supported atm
71 #endif // INCLUDED_OCIO_OPENCOLORABI_H