|
Blender V4.5
|
#include <Python.h>Go to the source code of this file.
Classes | |
| struct | BPy_PropDeferred |
Macros | |
| #define | BPy_PropDeferred_CheckTypeExact(v) |
| #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 | ) |
Definition at line 37 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 39 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 4306 of file bpy_props.cc.
References BPy_EnumProperty_Parse_WithSRNA::base, 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::is_set, BPy_EnumProperty_Parse::items, pointer_type_from_py(), BPy_PropIDParse::prop_free_handle, 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, BPy_EnumProperty_Parse::value, and BPy_PropIDParse::value.
Referenced by deferred_register_prop().
| PyObject * BPy_PointerProperty | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw ) |
Definition at line 4155 of file bpy_props.cc.
References BPy_EnumProperty_Parse_WithSRNA::base, 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::is_set, BPy_EnumProperty_Parse::items, pointer_type_from_py(), BPy_PropIDParse::prop_free_handle, 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, BPy_EnumProperty_Parse::value, and BPy_PropIDParse::value.
Referenced by deferred_register_prop().
| PyObject * BPY_rna_props | ( | ) |
Definition at line 4606 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 4642 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 4104 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().