12 #include "../generic/py_capi_utils.h"
21 {
"supported",
"Boolean, True when Blender is built with OpenColorIO support"},
22 {
"version",
"The OpenColorIO version as a tuple of 3 numbers"},
23 {
"version_string",
"The OpenColorIO version formatted as a string"},
31 "This module contains information about OpenColorIO blender is linked against",
47 if (ocio_info ==
NULL) {
52 # define SetStrItem(str) PyStructSequence_SET_ITEM(ocio_info, pos++, PyUnicode_FromString(str))
55 #define SetObjItem(obj) PyStructSequence_SET_ITEM(ocio_info, pos++, obj)
61 PyC_Tuple_Pack_I32(curversion >> 24, (curversion >> 16) % 256, (curversion >> 8) % 256));
63 "%2d, %2d, %2d", curversion >> 24, (curversion >> 16) % 256, (curversion >> 8) % 256));
static PyTypeObject BlenderAppOCIOType
static PyObject * make_ocio_info(void)
static PyStructSequence_Desc app_ocio_info_desc
PyObject * BPY_app_ocio_struct(void)
static PyStructSequence_Field app_ocio_info_fields[]
#define PyC_Tuple_Pack_I32(...)