|
Blender V4.3
|
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 | BPY_rna_props_clear_all () |
| 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 33 of file bpy_props.hh.
Referenced by deferred_register_prop(), and pyrna_struct_meta_idprop_setattro().
| #define PYRNA_STACK_ARRAY RNA_STACK_ARRAY |
Definition at line 35 of file bpy_props.hh.
Referenced by bpy_prop_array_length_parse(), prop_subscript_ass_array_slice(), and pyrna_prop_array_subscript_slice().
| PyObject * BPy_CollectionProperty | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw ) |
Definition at line 4555 of file bpy_props.cc.
References bpy_prop_arg_parse_id(), bpy_prop_arg_parse_tag_defines(), bpy_prop_assign_flag(), bpy_prop_assign_flag_override(), bpy_prop_deferred_data_or_srna(), BPy_EnumProperty_Parse::items, pointer_type_from_py(), PY_ARG_PARSER_HEAD_COMPAT, pymeth_CollectionProperty, pyrna_enum_bitfield_parse_set(), RNA_def_collection_runtime(), RNA_def_property_duplicate_pointers(), RNA_def_property_free_identifier_deferred_finish(), RNA_def_property_tags(), RNA_def_property_translation_context(), RNA_def_struct_flag(), rna_enum_property_flag_items, rna_enum_property_override_flag_collection_items, RNA_PropertyGroup, RNA_struct_idprops_contains_datablock(), RNA_struct_is_a(), RNA_struct_ui_name(), self, BPy_EnumProperty_Parse_WithSRNA::srna, BPy_PropIDParse::srna, STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES, and EnumPropertyItem::value.
Referenced by deferred_register_prop().
| PyObject * BPy_PointerProperty | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw ) |
Definition at line 4404 of file bpy_props.cc.
References bpy_prop_arg_parse_id(), bpy_prop_arg_parse_tag_defines(), bpy_prop_assign_flag(), bpy_prop_assign_flag_override(), bpy_prop_callback_assign_pointer(), bpy_prop_callback_assign_update(), bpy_prop_callback_check(), bpy_prop_deferred_data_or_srna(), BPy_EnumProperty_Parse::items, pointer_type_from_py(), PY_ARG_PARSER_HEAD_COMPAT, pymeth_PointerProperty, pyrna_enum_bitfield_parse_set(), RNA_def_pointer_runtime(), RNA_def_property_duplicate_pointers(), RNA_def_property_free_identifier_deferred_finish(), RNA_def_property_tags(), RNA_def_property_translation_context(), RNA_def_struct_flag(), rna_enum_property_flag_items, rna_enum_property_override_flag_items, RNA_PropertyGroup, RNA_struct_idprops_contains_datablock(), RNA_struct_is_a(), RNA_struct_is_ID(), RNA_struct_ui_name(), self, BPy_EnumProperty_Parse_WithSRNA::srna, BPy_PropIDParse::srna, STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES, and EnumPropertyItem::value.
Referenced by deferred_register_prop().
| PyObject * BPY_rna_props | ( | ) |
Definition at line 4846 of file bpy_props.cc.
References ASSIGN_STATIC, bpy_prop_deferred_Type, bpy_prop_py_data_remove(), props_module, and RNA_def_property_free_pointers_set_py_data_callback().
Referenced by BPy_init_modules().
| void BPY_rna_props_clear_all | ( | ) |
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 4882 of file bpy_props.cc.
References BLI_listbase_clear(), g_bpy_prop_store_list, 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 4358 of file bpy_props.cc.
References PyC_ExceptionBuffer(), and srna_from_self().
Referenced by BPy_CollectionProperty(), and BPy_PointerProperty().
|
extern |
Definition at line 288 of file bpy_props.cc.
Referenced by bpy_prop_deferred_data_CreatePyObject(), and BPY_rna_props().