|
Blender
V3.3
|
#include "BLI_utildefines.h"#include <Python.h>#include "bpy_app_ocio.h"#include "../generic/py_capi_utils.h"Go to the source code of this file.
Macros | |
| #define | SetStrItem(str) PyStructSequence_SET_ITEM(ocio_info, pos++, PyUnicode_FromString(str)) |
| #define | SetObjItem(obj) PyStructSequence_SET_ITEM(ocio_info, pos++, obj) |
Functions | |
| static PyObject * | make_ocio_info (void) |
| PyObject * | BPY_app_ocio_struct (void) |
Variables | |
| static PyTypeObject | BlenderAppOCIOType |
| static PyStructSequence_Field | app_ocio_info_fields [] |
| static PyStructSequence_Desc | app_ocio_info_desc |
| PyObject* BPY_app_ocio_struct | ( | void | ) |
Definition at line 81 of file bpy_app_ocio.c.
References app_ocio_info_desc, BlenderAppOCIOType, make_ocio_info(), NULL, and ret.
Referenced by make_app_info().
|
static |
Definition at line 37 of file bpy_app_ocio.c.
References BlenderAppOCIOType, NULL, OCIO_getVersionHex(), pos, PyC_Tuple_Pack_I32, SetObjItem, SetStrItem, and UNLIKELY.
Referenced by BPY_app_ocio_struct().
|
static |
Definition at line 27 of file bpy_app_ocio.c.
Referenced by BPY_app_ocio_struct().
|
static |
Definition at line 20 of file bpy_app_ocio.c.
|
static |
Definition at line 18 of file bpy_app_ocio.c.
Referenced by BPY_app_ocio_struct(), and make_ocio_info().