Blender V5.0
bpy_rna_callback.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 BPy_StructRNA;
14
15#if 0
16[[nodiscard]] PyObject *pyrna_callback_add(BPy_StructRNA *self, PyObject *args);
17[[nodiscard]] PyObject *pyrna_callback_remove(BPy_StructRNA *self, PyObject *args);
18#endif
19
20[[nodiscard]] PyObject *pyrna_callback_classmethod_add(PyObject *self, PyObject *args);
21[[nodiscard]] PyObject *pyrna_callback_classmethod_remove(PyObject *self, PyObject *args);
PyObject * self
PyObject * pyrna_callback_classmethod_add(PyObject *self, PyObject *args)
PyObject * pyrna_callback_classmethod_remove(PyObject *self, PyObject *args)