Blender  V3.3
bpy_props.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 PyObject *BPY_rna_props(void);
18 void BPY_rna_props_clear_all(void);
19 
20 PyObject *BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw);
21 PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw);
22 StructRNA *pointer_type_from_py(PyObject *value, const char *error_prefix);
23 
24 typedef struct {
25  PyObject_HEAD
30  void *fn;
31  PyObject *kw;
33 
34 extern PyTypeObject bpy_prop_deferred_Type;
35 #define BPy_PropDeferred_CheckTypeExact(v) (Py_TYPE(v) == &bpy_prop_deferred_Type)
36 
37 #define PYRNA_STACK_ARRAY RNA_STACK_ARRAY
38 
39 #ifdef __cplusplus
40 }
41 #endif
void BPY_rna_props_clear_all(void)
Definition: bpy_props.c:4676
PyObject * BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw)
Definition: bpy_props.c:4374
PyObject * BPY_rna_props(void)
Definition: bpy_props.c:4640
StructRNA * pointer_type_from_py(PyObject *value, const char *error_prefix)
Definition: bpy_props.c:4196
PyObject * BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw)
Definition: bpy_props.c:4237
PyTypeObject bpy_prop_deferred_Type
Definition: bpy_props.c:281
PyObject * kw
Definition: bpy_props.h:31
PyObject_HEAD void * fn
Definition: bpy_props.h:30