Blender V5.0
imbuf_py_api.hh File Reference
#include <Python.h>

Go to the source code of this file.

Functions

PyObject * BPyInit_imbuf ()
ImBufBPy_ImBuf_FromPyObject (PyObject *py_imbuf)

Variables

PyTypeObject Py_ImBuf_Type

Function Documentation

◆ BPy_ImBuf_FromPyObject()

ImBuf * BPy_ImBuf_FromPyObject ( PyObject * py_imbuf)
nodiscard

Return the ImBuf or null with an error set.

Definition at line 818 of file imbuf_py_api.cc.

References BLI_assert, Py_ImBuf_Type, and py_imbuf_valid_check().

Referenced by py_blf_bind_imbuf_enter().

◆ BPyInit_imbuf()

PyObject * BPyInit_imbuf ( )
nodiscard

Definition at line 754 of file imbuf_py_api.cc.

References BPyInit_imbuf_types(), IMB_module_def, and mod.

Variable Documentation

◆ Py_ImBuf_Type

PyTypeObject Py_ImBuf_Type
extern