Blender V5.0
bpy_operator.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
8
9#pragma once
10
11#include <Python.h>
12
13extern PyTypeObject pyop_base_Type;
14
15#define BPy_OperatorBase_Check(v) (PyObject_TypeCheck(v, &pyop_base_Type))
16
18 PyObject_HEAD /* Required Python macro. */
19};
20
21[[nodiscard]] PyObject *BPY_operator_module();
PyTypeObject pyop_base_Type
PyObject * BPY_operator_module()