Files
test2/source/blender/python/generic/imbuf_py_api.hh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
378 B
C++
Raw Permalink Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
/** \file
* \ingroup pygen
*/
#include <Python.h>
struct ImBuf;
[[nodiscard]] PyObject *BPyInit_imbuf();
2018-08-01 08:57:31 +10:00
extern PyTypeObject Py_ImBuf_Type;
/** Return the #ImBuf or null with an error set. */
[[nodiscard]] ImBuf *BPy_ImBuf_FromPyObject(PyObject *py_imbuf);