Blender V4.3
bpy_props.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
9#pragma once
10
11PyObject *BPY_rna_props();
17
18PyObject *BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw);
19PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw);
20StructRNA *pointer_type_from_py(PyObject *value, const char *error_prefix);
21
23 PyObject_HEAD
28 void *fn;
29 PyObject *kw;
30};
31
32extern PyTypeObject bpy_prop_deferred_Type;
33#define BPy_PropDeferred_CheckTypeExact(v) (Py_TYPE(v) == &bpy_prop_deferred_Type)
34
35#define PYRNA_STACK_ARRAY RNA_STACK_ARRAY
PyObject * self
PyObject * BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw)
PyObject * BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw)
PyObject * BPY_rna_props()
void BPY_rna_props_clear_all()
StructRNA * pointer_type_from_py(PyObject *value, const char *error_prefix)
PyTypeObject bpy_prop_deferred_Type
Definition bpy_props.cc:288
PyObject * kw
Definition bpy_props.hh:29
PyObject_HEAD void * fn
Definition bpy_props.hh:28