Blender V5.0
imbuf_py_api.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include <Python.h>
12
13struct ImBuf;
14
15[[nodiscard]] PyObject *BPyInit_imbuf();
16
17extern PyTypeObject Py_ImBuf_Type;
18
20[[nodiscard]] ImBuf *BPy_ImBuf_FromPyObject(PyObject *py_imbuf);
PyTypeObject Py_ImBuf_Type
PyObject * BPyInit_imbuf()
ImBuf * BPy_ImBuf_FromPyObject(PyObject *py_imbuf)