|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | BPy_PropDeferred |
Macros | |
| #define | BPy_PropDeferred_CheckTypeExact(v) (Py_TYPE(v) == &bpy_prop_deferred_Type) |
| #define | PYRNA_STACK_ARRAY RNA_STACK_ARRAY |
Functions | |
| PyObject * | BPY_rna_props (void) |
| void | BPY_rna_props_clear_all (void) |
| PyObject * | BPy_PointerProperty (PyObject *self, PyObject *args, PyObject *kw) |
| PyObject * | BPy_CollectionProperty (PyObject *self, PyObject *args, PyObject *kw) |
| StructRNA * | pointer_type_from_py (PyObject *value, const char *error_prefix) |
Variables | |
| PyTypeObject | bpy_prop_deferred_Type |
| #define BPy_PropDeferred_CheckTypeExact | ( | v | ) | (Py_TYPE(v) == &bpy_prop_deferred_Type) |
Definition at line 42 of file bpy_props.h.
| #define PYRNA_STACK_ARRAY RNA_STACK_ARRAY |
Definition at line 44 of file bpy_props.h.
| PyObject* BPy_CollectionProperty | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw | ||
| ) |
Definition at line 3693 of file bpy_props.c.
References bpy_prop_assign_flag(), bpy_prop_assign_flag_override(), BPY_PROPDEF_CHECK, BPY_PROPDEF_HEAD, NULL, pointer_type_from_py(), property_flag_items, property_flag_override_collection_items, RNA_def_collection_runtime(), RNA_def_property_duplicate_pointers(), RNA_def_property_tags(), RNA_def_struct_flag(), RNA_PropertyGroup, RNA_struct_idprops_contains_datablock(), RNA_struct_is_a(), RNA_struct_ui_name(), STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES, and type.
Referenced by deferred_register_prop().
| PyObject* BPy_PointerProperty | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw | ||
| ) |
Definition at line 3587 of file bpy_props.c.
References bpy_prop_assign_flag(), bpy_prop_assign_flag_override(), bpy_prop_callback_assign_pointer(), bpy_prop_callback_assign_update(), bpy_prop_callback_check(), BPY_PROPDEF_CHECK, BPY_PROPDEF_HEAD, NULL, pointer_type_from_py(), BPyPropStore::poll_fn, property_flag_items, property_flag_override_items, RNA_def_pointer_runtime(), RNA_def_property_duplicate_pointers(), RNA_def_property_tags(), RNA_def_struct_flag(), RNA_ID, RNA_PropertyGroup, RNA_struct_idprops_contains_datablock(), RNA_struct_is_a(), RNA_struct_is_ID(), RNA_struct_ui_name(), STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES, type, and BPyPropStore::update_fn.
Referenced by deferred_register_prop().
| PyObject* BPY_rna_props | ( | void | ) |
Definition at line 3927 of file bpy_props.c.
References ASSIGN_STATIC, bpy_prop_deferred_Type, bpy_prop_py_data_remove(), NULL, props_module, and RNA_def_property_free_pointers_set_py_data_callback().
Referenced by BPy_init_modules().
| void BPY_rna_props_clear_all | ( | void | ) |
Run this on exit, clearing all Python callback users and disable the RNA callback, as it would be called after Python has already finished.
Definition at line 3967 of file bpy_props.c.
References BLI_listbase_clear(), g_bpy_prop_store_list, NULL, props_clear(), and RNA_def_property_free_pointers_set_py_data_callback().
Referenced by BPY_python_end().
| StructRNA* pointer_type_from_py | ( | PyObject * | value, |
| const char * | error_prefix | ||
| ) |
Definition at line 3548 of file bpy_props.c.
References NULL, PyC_ExceptionBuffer(), and srna_from_self().
Referenced by BPy_CollectionProperty(), and BPy_PointerProperty().
|
extern |
Definition at line 392 of file bpy_props.c.
Referenced by bpy_prop_deferred_data_CreatePyObject(), and BPY_rna_props().