|
Blender V4.3
|
#include "intern/rna_internal_types.hh"Go to the source code of this file.
Classes | |
| struct | BPy_DummyPointerRNA |
| struct | BPy_StructRNA |
| struct | BPy_PropertyRNA |
| struct | BPy_PropertyArrayRNA |
| struct | BPy_PropertyCollectionIterRNA |
| struct | BPy_FunctionRNA |
| struct | BPy_StructRNA_Parse |
Macros | |
| #define | USE_PYRNA_ITER |
| #define | BPy_StructRNA_Check(v) (PyObject_TypeCheck(v, &pyrna_struct_Type)) |
| #define | BPy_StructRNA_CheckExact(v) (Py_TYPE(v) == &pyrna_struct_Type) |
| #define | BPy_PropertyRNA_Check(v) (PyObject_TypeCheck(v, &pyrna_prop_Type)) |
| #define | BPy_PropertyRNA_CheckExact(v) (Py_TYPE(v) == &pyrna_prop_Type) |
| #define | PYRNA_STRUCT_CHECK_OBJ(obj) |
| #define | PYRNA_STRUCT_CHECK_INT(obj) |
| #define | PYRNA_PROP_CHECK_OBJ(obj) |
| #define | PYRNA_PROP_CHECK_INT(obj) |
| #define | PYRNA_STRUCT_CHECK_OBJ_UNLESS(obj, unless) |
| #define | PYRNA_STRUCT_IS_VALID(pysrna) (LIKELY(((BPy_StructRNA *)(pysrna))->ptr.type != NULL)) |
| #define | PYRNA_PROP_IS_VALID(pysrna) (LIKELY(((BPy_PropertyRNA *)(pysrna))->ptr.type != NULL)) |
Variables | |
| PyTypeObject | pyrna_struct_meta_idprop_Type |
| PyTypeObject | pyrna_struct_Type |
| PyTypeObject | pyrna_prop_Type |
| PyTypeObject | pyrna_prop_array_Type |
| PyTypeObject | pyrna_prop_collection_Type |
| PyTypeObject | pyrna_func_Type |
| PyMethodDef | meth_bpy_register_class |
| PyMethodDef | meth_bpy_unregister_class |
| PyMethodDef | meth_bpy_owner_id_set |
| PyMethodDef | meth_bpy_owner_id_get |
| BPy_StructRNA * | bpy_context_module |
| #define BPy_PropertyRNA_Check | ( | v | ) | (PyObject_TypeCheck(v, &pyrna_prop_Type)) |
Definition at line 71 of file bpy_rna.hh.
Referenced by py_msgbus_rna_key_from_py(), pyrna_dir_members_py(), pyrna_prop_collection_string_subscript_supported_or_error(), and pyrna_prop_richcmp().
| #define BPy_PropertyRNA_CheckExact | ( | v | ) | (Py_TYPE(v) == &pyrna_prop_Type) |
Definition at line 72 of file bpy_rna.hh.
Referenced by pyrna_prop_dir().
| #define BPy_StructRNA_Check | ( | v | ) | (PyObject_TypeCheck(v, &pyrna_struct_Type)) |
Definition at line 69 of file bpy_rna.hh.
Referenced by BPY_context_member_get(), py_msgbus_rna_key_from_py(), py_rna_gizmo_parse(), pyrna_driver_is_equal_anim_rna(), pyrna_id_CheckPyObject(), pyrna_prop_collection_subscript_is_valid_or_error(), pyrna_prop_collection_type_check(), pyrna_py_to_prop(), pyrna_struct_as_ptr(), pyrna_struct_as_srna(), pyrna_struct_ass_subscript(), and pyrna_struct_richcmp().
| #define BPy_StructRNA_CheckExact | ( | v | ) | (Py_TYPE(v) == &pyrna_struct_Type) |
Definition at line 70 of file bpy_rna.hh.
Referenced by pyrna_struct_dir().
| #define PYRNA_PROP_CHECK_INT | ( | obj | ) |
Definition at line 90 of file bpy_rna.hh.
Referenced by mathutils_rna_generic_check(), mathutils_rna_matrix_get(), mathutils_rna_matrix_set(), mathutils_rna_vector_get(), mathutils_rna_vector_get_index(), mathutils_rna_vector_set(), mathutils_rna_vector_set_index(), prop_subscript_ass_array_int(), py_msgbus_rna_key_from_py(), pyrna_prop_array_ass_subscript(), pyrna_prop_array_bool(), pyrna_prop_array_length(), pyrna_prop_collection_ass_subscript(), pyrna_prop_collection_ass_subscript_int(), pyrna_prop_collection_bool(), and pyrna_prop_collection_length().
| #define PYRNA_PROP_CHECK_OBJ | ( | obj | ) |
Definition at line 85 of file bpy_rna.hh.
Referenced by pyrna_prop_array_foreach_get(), pyrna_prop_array_foreach_set(), pyrna_prop_array_iter(), pyrna_prop_array_subscript(), pyrna_prop_array_subscript_int(), pyrna_prop_array_to_py_index(), pyrna_prop_collection_find(), pyrna_prop_collection_foreach_get(), pyrna_prop_collection_foreach_set(), pyrna_prop_collection_get(), pyrna_prop_collection_subscript(), pyrna_prop_collection_subscript_int(), pyrna_prop_collection_subscript_slice(), pyrna_prop_collection_subscript_str(), pyrna_prop_repr_ex(), and pyrna_prop_str().
| #define PYRNA_PROP_IS_VALID | ( | pysrna | ) | (LIKELY(((BPy_PropertyRNA *)(pysrna))->ptr.type != NULL)) |
Definition at line 107 of file bpy_rna.hh.
| #define PYRNA_STRUCT_CHECK_INT | ( | obj | ) |
Definition at line 79 of file bpy_rna.hh.
Referenced by py_msgbus_rna_key_from_py(), pyrna_struct_ass_subscript(), pyrna_struct_contains(), and pyrna_struct_setattro().
| #define PYRNA_STRUCT_CHECK_OBJ | ( | obj | ) |
Definition at line 74 of file bpy_rna.hh.
Referenced by pyrna_struct_as_ptr(), pyrna_struct_dir(), pyrna_struct_driver_add(), pyrna_struct_driver_remove(), pyrna_struct_get(), pyrna_struct_id_properties_clear(), pyrna_struct_id_properties_ensure(), pyrna_struct_id_properties_ui(), pyrna_struct_is_property_hidden(), pyrna_struct_is_property_overridable_library(), pyrna_struct_is_property_readonly(), pyrna_struct_is_property_set(), pyrna_struct_items(), pyrna_struct_keyframe_delete(), pyrna_struct_keyframe_insert(), pyrna_struct_keys(), pyrna_struct_path_from_id(), pyrna_struct_path_resolve(), pyrna_struct_pop(), pyrna_struct_property_overridable_library_set(), pyrna_struct_property_unset(), pyrna_struct_subscript(), pyrna_struct_type_recast(), and pyrna_struct_values().
| #define PYRNA_STRUCT_CHECK_OBJ_UNLESS | ( | obj, | |
| unless ) |
Definition at line 96 of file bpy_rna.hh.
Referenced by pyrna_struct_getattro().
| #define PYRNA_STRUCT_IS_VALID | ( | pysrna | ) | (LIKELY(((BPy_StructRNA *)(pysrna))->ptr.type != NULL)) |
Definition at line 106 of file bpy_rna.hh.
Referenced by pyrna_struct_repr(), and pyrna_struct_str().
| #define USE_PYRNA_ITER |
Definition at line 52 of file bpy_rna.hh.
| void BPY_rna_exit | ( | void | ) |
Definition at line 7881 of file bpy_rna.cc.
References BLI_ghash_free(), BLI_ghash_len(), BLI_ghashIterator_getKey(), GHASH_ITER, and printf.
Referenced by BPY_python_end().
| void BPY_rna_init | ( | void | ) |
Definition at line 7828 of file bpy_rna.cc.
References BLI_assert, BLI_ghash_ptr_new(), Mathutils_RegisterCallback(), mathutils_rna_array_cb, mathutils_rna_array_cb_index, mathutils_rna_matrix_cb, mathutils_rna_matrix_cb_index, pyrna_func_Type, pyrna_prop_array_Type, pyrna_prop_collection_idprop_Type, pyrna_prop_collection_iter_Type, pyrna_prop_collection_Type, pyrna_prop_Type, pyrna_struct_meta_idprop_Type, and pyrna_struct_Type.
Referenced by BPY_python_start().
| PyObject * BPY_rna_module | ( | void | ) |
Definition at line 7904 of file bpy_rna.cc.
References G_MAIN, BPy_StructRNA::ptr, ptr, pyrna_struct_CreatePyObject(), RNA_main_pointer_create(), and rna_module_ptr.
Referenced by BPy_init_modules(), and BPY_modules_update().
| PyObject * BPY_rna_types | ( | void | ) |
Definition at line 8042 of file bpy_rna.cc.
References ARRAY_SIZE, bpy_types_module_def, BPy_TypesModule_State::ptr, pyrna_func_Type, pyrna_prop_array_Type, pyrna_prop_collection_Type, pyrna_prop_Type, pyrna_struct_meta_idprop_Type, pyrna_struct_Type, RNA_blender_rna_pointer_create(), RNA_struct_find_property(), and state.
Referenced by BPy_init_modules(), and BPY_modules_update().
| void BPY_rna_types_finalize_external_types | ( | PyObject * | submodule | ) |
Definition at line 8071 of file bpy_rna.cc.
References BLI_assert_msg, BPY_LOG_RNA, bpy_types_dict, CLOG_WARN, pyrna_struct_Type, pyrna_subtype_set_rna(), RNA_property_collection_lookup_string(), RNA_struct_py_type_get(), srna_from_ptr(), state, and STREQ.
Referenced by BPy_init_modules().
| void BPY_update_rna_module | ( | void | ) |
Definition at line 7916 of file bpy_rna.cc.
References PointerRNA::data, G_MAIN, RNA_main_pointer_create(), and rna_module_ptr.
Referenced by BPY_driver_exec(), and BPY_modules_update().
| void pyrna_alloc_types | ( | void | ) |
Definition at line 9064 of file bpy_rna.cc.
References ptr, pyrna_struct_Subtype(), RNA_blender_rna_pointer_create(), RNA_PROP_BEGIN, RNA_PROP_END, and RNA_struct_find_property().
Referenced by BPY_python_start().
| int pyrna_array_contains_py | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop, | ||
| PyObject * | value ) |
Definition at line 1000 of file bpy_rna_array.cc.
References len, PROP_BOOLEAN, PROP_FLOAT, PROP_INT, ptr, PyC_Long_AsBool(), RNA_property_array_dimension(), RNA_property_array_length(), RNA_property_boolean_get_array(), RNA_property_float_get_array(), RNA_property_int_get_array(), and RNA_property_type().
Referenced by pyrna_prop_array_contains().
| PyObject * pyrna_array_index | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop, | ||
| int | index ) |
Definition at line 875 of file bpy_rna_array.cc.
References PROP_BOOLEAN, PROP_FLOAT, PROP_INT, ptr, RNA_property_boolean_get_index(), RNA_property_float_get_index(), RNA_property_int_get_index(), and RNA_property_type().
Referenced by pyrna_driver_get_variable_value(), pyrna_py_from_array_index(), and pyrna_struct_path_resolve().
Definition at line 8442 of file bpy_rna.cc.
References pyrna_deferred_register_class_from_type_hints(), pyrna_deferred_register_class_recursive(), and RNA_struct_idprops_register_check().
Referenced by gizmo_properties_init(), gizmogroup_properties_init(), operator_properties_init(), and pyrna_register_class().
| void pyrna_free_types | ( | void | ) |
Definition at line 9099 of file bpy_rna.cc.
References bpy_class_free(), ptr, RNA_blender_rna_pointer_create(), RNA_PROP_BEGIN, RNA_PROP_END, RNA_struct_find_property(), RNA_struct_py_type_get(), RNA_struct_py_type_set(), and srna_from_ptr().
Referenced by BPY_python_end().
| bool pyrna_id_CheckPyObject | ( | PyObject * | obj | ) |
Definition at line 7823 of file bpy_rna.cc.
Referenced by pyrna_id_FromPyObject().
| PyObject * pyrna_id_CreatePyObject | ( | ID * | id | ) |
Definition at line 7802 of file bpy_rna.cc.
| bool pyrna_id_FromPyObject | ( | PyObject * | obj, |
| ID ** | id ) |
Definition at line 7812 of file bpy_rna.cc.
| void pyrna_invalidate | ( | BPy_DummyPointerRNA * | self | ) |
Definition at line 147 of file bpy_rna.cc.
References RNA_POINTER_INVALIDATE, and self.
Referenced by BPY_DECREF_RNA_INVALIDATE().
| PyObject * pyrna_math_object_from_array | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop ) |
Definition at line 651 of file bpy_rna.cc.
References col, Color_CreatePyObject(), Color_CreatePyObject_cb(), Euler_CreatePyObject(), Euler_CreatePyObject_cb(), EULER_ORDER_XYZ, flag, len, MATHUTILS_CB_SUBTYPE_COLOR, MATHUTILS_CB_SUBTYPE_EUL, MATHUTILS_CB_SUBTYPE_QUAT, MATHUTILS_CB_SUBTYPE_VEC, mathutils_rna_array_cb_index, mathutils_rna_matrix_cb_index, Matrix_CreatePyObject(), Matrix_CreatePyObject_cb(), PROP_ALL_VECTOR_SUBTYPES, PROP_COLOR, PROP_COLOR_GAMMA, PROP_DYNAMIC, PROP_EULER, PROP_FLOAT, PROP_INT, PROP_MATRIX, PROP_QUATERNION, PROP_THICK_WRAP, ptr, pyrna_prop_array_subscript_slice(), pyrna_prop_CreatePyObject(), pyrna_rotation_euler_order_get(), Quaternion_CreatePyObject(), Quaternion_CreatePyObject_cb(), ret, RNA_property_array_dimension(), RNA_property_array_length(), RNA_property_flag(), RNA_property_float_get_array(), RNA_property_subtype(), RNA_property_type(), Vector_CreatePyObject(), and Vector_CreatePyObject_cb().
Referenced by pyrna_py_from_array().
| PyObject * pyrna_prop_CreatePyObject | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop ) |
Definition at line 7752 of file bpy_rna.cc.
References PointerRNA::owner_id, BPy_PropertyRNA::prop, PROP_COLLECTION, PROP_IDPROPERTY, BPy_PropertyRNA::ptr, ptr, pyrna_prop_array_Type, pyrna_prop_collection_idprop_Type, pyrna_prop_collection_Type, pyrna_prop_Type, RNA_property_array_check(), RNA_property_flag(), and RNA_property_type().
Referenced by pyrna_math_object_from_array(), pyrna_prop_to_py(), pyrna_py_from_array(), pyrna_py_from_array_index(), and pyrna_struct_path_resolve().
| PyObject * pyrna_prop_to_py | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop ) |
Definition at line 1405 of file bpy_rna.cc.
References PointerRNA::data, ELEM, MEM_freeN(), PROP_BOOLEAN, PROP_BYTESTRING, PROP_COLLECTION, PROP_DIRPATH, PROP_ENUM, PROP_FILENAME, PROP_FILEPATH, PROP_FLOAT, PROP_INT, PROP_POINTER, PROP_STRING, ptr, PyC_UnicodeFromBytesAndSize(), pyrna_enum_to_py(), pyrna_prop_CreatePyObject(), pyrna_py_from_array(), pyrna_struct_CreatePyObject(), ret, RNA_property_array_check(), RNA_property_boolean_get(), RNA_property_enum_get(), RNA_property_float_get(), RNA_property_int_get(), RNA_property_pointer_get(), RNA_property_string_get_alloc(), RNA_property_subtype(), and RNA_property_type().
Referenced by pyrna_driver_get_variable_value(), pyrna_prop_collection_getattro(), pyrna_struct_getattro(), and pyrna_struct_path_resolve().
| int pyrna_prop_validity_check | ( | const BPy_PropertyRNA * | self | ) |
Definition at line 135 of file bpy_rna.cc.
References RNA_property_identifier(), and self.
| PyObject * pyrna_py_from_array | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop ) |
Definition at line 986 of file bpy_rna_array.cc.
References ptr, pyrna_math_object_from_array(), pyrna_prop_CreatePyObject(), and ret.
Referenced by pyrna_prop_to_py().
| PyObject * pyrna_py_from_array_index | ( | BPy_PropertyArrayRNA * | self, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index ) |
Definition at line 937 of file bpy_rna_array.cc.
References BPy_PropertyArrayRNA::arraydim, BPY_LOG_RNA, CLOG_WARN, len, MAX_ARRAY_DIMENSION, ptr, pyrna_array_index(), pyrna_prop_CreatePyObject(), ret, RNA_property_array_dimension(), RNA_property_multi_array_length(), and self.
Referenced by pyrna_prop_array_to_py_index().
| int pyrna_py_to_array | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop, | ||
| char * | param_data, | ||
| PyObject * | py, | ||
| const char * | error_prefix ) |
Definition at line 741 of file bpy_rna_array.cc.
References convert_item_init_bool(), convert_item_init_float(), convert_item_init_int(), PROP_BOOLEAN, PROP_FLOAT, PROP_INT, ptr, py_bool_check(), py_float_check(), py_int_check(), py_to_array(), ret, RNA_property_boolean_set_array(), RNA_property_float_set_array(), RNA_property_int_set_array(), and RNA_property_type().
Referenced by pyrna_py_to_prop().
| int pyrna_py_to_array_index | ( | PointerRNA * | ptr, |
| PropertyRNA * | prop, | ||
| int | arraydim, | ||
| int | arrayoffset, | ||
| int | index, | ||
| PyObject * | py, | ||
| const char * | error_prefix ) |
Definition at line 804 of file bpy_rna_array.cc.
References bool_set_index(), convert_item_init_bool(), convert_item_init_float(), convert_item_init_int(), float_set_index(), int_set_index(), PROP_BOOLEAN, PROP_FLOAT, PROP_INT, ptr, py_bool_check(), py_float_check(), py_int_check(), py_to_array_index(), ret, and RNA_property_type().
Referenced by pyrna_py_to_prop_array_index().
| int pyrna_pydict_to_props | ( | PointerRNA * | ptr, |
| PyObject * | kw, | ||
| bool | all_args, | ||
| const char * | error_prefix ) |
Definition at line 1486 of file bpy_rna.cc.
References pos, ptr, pyrna_py_to_prop(), RNA_property_identifier(), RNA_STRUCT_BEGIN, RNA_STRUCT_END, RNA_struct_find_property(), and STREQ.
Referenced by pyop_as_string(), pyop_call(), and pyrna_py_to_prop().
| const PointerRNA * pyrna_struct_as_ptr | ( | PyObject * | py_obj, |
| const StructRNA * | srna ) |
Definition at line 8177 of file bpy_rna.cc.
References BPy_StructRNA_Check, BPy_StructRNA::ptr, PYRNA_STRUCT_CHECK_OBJ, RNA_struct_identifier(), RNA_struct_is_a(), and PointerRNA::type.
Referenced by bpy_context_temp_override(), pyrna_struct_as_ptr_or_null(), and pyrna_struct_as_ptr_parse().
| const PointerRNA * pyrna_struct_as_ptr_or_null | ( | PyObject * | py_obj, |
| const StructRNA * | srna ) |
Definition at line 8191 of file bpy_rna.cc.
References PointerRNA_NULL, and pyrna_struct_as_ptr().
Referenced by pyrna_struct_as_ptr_or_null_parse(), and blender::render::hydra::pyrna_to_pointer().
| int pyrna_struct_as_ptr_or_null_parse | ( | PyObject * | o, |
| void * | p ) |
A version of pyrna_struct_as_ptr_parse that maps Python's None to PointerRNA_NULL.
Definition at line 8210 of file bpy_rna.cc.
References BLI_assert, BPy_StructRNA_Parse::ptr, pyrna_struct_as_ptr_or_null(), and BPy_StructRNA_Parse::type.
Referenced by bpy_context_temp_override().
| int pyrna_struct_as_ptr_parse | ( | PyObject * | o, |
| void * | p ) |
Sets BPy_StructRNA_Parse.ptr to the value in the BPy_StructRNA.ptr (from o) or raise an error if the type isn't a BPy_StructRNA.
Use with #PyArg_ParseTuple's O& formatting.
Definition at line 8199 of file bpy_rna.cc.
References BLI_assert, BPy_StructRNA_Parse::ptr, pyrna_struct_as_ptr(), and BPy_StructRNA_Parse::type.
| StructRNA * pyrna_struct_as_srna | ( | PyObject * | self, |
| bool | parent, | ||
| const char * | error_prefix ) |
Definition at line 8124 of file bpy_rna.cc.
References bpy_intern_str_bl_rna, BPy_StructRNA_Check, PointerRNA::data, BPy_StructRNA::ptr, self, and PointerRNA::type.
Referenced by py_msgbus_rna_key_from_py(), PYOP_wrap_macro_define(), pyrna_callback_classmethod_add(), pyrna_callback_classmethod_remove(), pyrna_register_class(), pyrna_unregister_class(), and srna_from_self().
| PyObject * pyrna_struct_CreatePyObject | ( | PointerRNA * | ptr | ) |
Definition at line 7694 of file bpy_rna.cc.
References PointerRNA::data, BPy_StructRNA::ptr, ptr, pyrna_struct_CreatePyObject_from_type(), pyrna_struct_Subtype(), RNA_struct_instance(), and PointerRNA::type.
Referenced by bpy_class_call(), BPy_init_modules(), bpy_lib_exit_lapp_context_items_cb(), bpy_pydriver_depsgraph_as_pyobject(), bpy_rna_data_context_enter(), bpy_rna_enum_items_static(), BPY_rna_module(), bpy_utils_previews_load(), bpy_utils_previews_new(), blender::io::usd::PointerRNAToPython::convert(), Freestyle_getCurrentScene(), pyop_getrna_type(), PYOP_wrap_macro_define(), pyrna_driver_get_variable_value(), pyrna_driver_self_from_anim_rna(), pyrna_id_CreatePyObject(), pyrna_param_to_py(), pyrna_prop_collection_get(), pyrna_prop_collection_getattro(), pyrna_prop_collection_idprop_add(), pyrna_prop_collection_items(), pyrna_prop_collection_iter_next(), pyrna_prop_collection_subscript_int(), pyrna_prop_collection_subscript_slice(), pyrna_prop_collection_subscript_str(), pyrna_prop_collection_subscript_str_lib_pair(), pyrna_prop_to_py(), pyrna_py_to_prop(), pyrna_struct_as_instance(), pyrna_struct_bl_rna_get_subclass(), pyrna_struct_CreatePyObject_with_primitive_support(), pyrna_struct_driver_add(), pyrna_struct_get_data(), pyrna_struct_get_id_data(), pyrna_struct_getattro(), pyrna_struct_path_resolve(), and pyrna_struct_type_recast().
| PyObject * pyrna_struct_CreatePyObject_with_primitive_support | ( | PointerRNA * | ptr | ) |
Definition at line 7731 of file bpy_rna.cc.
References PointerRNA::data, ptr, PyC_UnicodeFromBytes(), pyrna_struct_CreatePyObject(), and PointerRNA::type.
Referenced by bpy_app_generic_callback().
| void pyrna_struct_type_extend_capi | ( | StructRNA * | srna, |
| PyMethodDef * | method, | ||
| PyGetSetDef * | getset ) |
Definition at line 9454 of file bpy_rna.cc.
References BLI_assert, pyrna_srna_Subtype(), and UNUSED_VARS_NDEBUG.
Referenced by BPY_rna_types_extend_capi().
| int pyrna_struct_validity_check | ( | const BPy_StructRNA * | pysrna | ) |
Definition at line 126 of file bpy_rna.cc.
References BPy_StructRNA::ptr, pyrna_struct_validity_exception_only(), and PointerRNA::type.
Referenced by pyrna_py_to_prop().
| int pyrna_struct_validity_check_only | ( | const BPy_StructRNA * | pysrna | ) |
Definition at line 112 of file bpy_rna.cc.
References BPy_StructRNA::ptr, and PointerRNA::type.
| void pyrna_struct_validity_exception_only | ( | const BPy_StructRNA * | pysrna | ) |
Definition at line 120 of file bpy_rna.cc.
Referenced by pyrna_struct_validity_check().
| bool pyrna_write_check | ( | void | ) |
Definition at line 369 of file bpy_rna.cc.
References rna_disallow_writes.
Referenced by bpy_msgbus_notify(), bpy_prop_boolean_array_get_fn(), bpy_prop_boolean_array_set_fn(), bpy_prop_boolean_get_fn(), bpy_prop_boolean_set_fn(), bpy_prop_enum_get_fn(), bpy_prop_enum_set_fn(), bpy_prop_float_array_get_fn(), bpy_prop_float_array_set_fn(), bpy_prop_float_get_fn(), bpy_prop_float_set_fn(), bpy_prop_int_array_get_fn(), bpy_prop_int_array_set_fn(), bpy_prop_int_get_fn(), bpy_prop_int_set_fn(), bpy_prop_pointer_poll_fn(), bpy_prop_string_get_fn(), bpy_prop_string_length_fn(), bpy_prop_string_set_fn(), bpy_prop_update_fn(), pyop_call(), pyrna_register_class(), pyrna_struct_meta_idprop_setattro(), and pyrna_unregister_class().
| void pyrna_write_set | ( | bool | val | ) |
Definition at line 374 of file bpy_rna.cc.
References rna_disallow_writes.
Referenced by bpy_msgbus_notify(), bpy_prop_boolean_array_get_fn(), bpy_prop_boolean_array_set_fn(), bpy_prop_boolean_get_fn(), bpy_prop_boolean_set_fn(), bpy_prop_enum_get_fn(), bpy_prop_enum_set_fn(), bpy_prop_float_array_get_fn(), bpy_prop_float_array_set_fn(), bpy_prop_float_get_fn(), bpy_prop_float_set_fn(), bpy_prop_int_array_get_fn(), bpy_prop_int_array_set_fn(), bpy_prop_int_get_fn(), bpy_prop_int_set_fn(), bpy_prop_pointer_poll_fn(), bpy_prop_string_get_fn(), bpy_prop_string_length_fn(), bpy_prop_string_set_fn(), and bpy_prop_update_fn().
| StructRNA * srna_from_self | ( | PyObject * | self, |
| const char * | error_prefix ) |
Definition at line 8223 of file bpy_rna.cc.
References pyrna_struct_as_srna(), and self.
Referenced by bpy_prop_deferred_data_or_srna(), BPy_RemoveProperty(), deferred_register_prop(), pointer_type_from_py(), and pyrna_struct_meta_idprop_setattro().
|
extern |
Definition at line 91 of file bpy_rna.cc.
Referenced by BPY_context_get(), BPY_context_set(), BPy_init_modules(), bpy_prop_enum_itemf_fn(), bpy_prop_string_visit_for_search_fn(), and bpy_prop_update_fn().
|
extern |
Definition at line 9530 of file bpy_rna.cc.
Referenced by BPy_init_modules().
|
extern |
Definition at line 9536 of file bpy_rna.cc.
Referenced by BPy_init_modules().
|
extern |
Definition at line 9153 of file bpy_rna.cc.
Referenced by BPy_init_modules().
|
extern |
Definition at line 9336 of file bpy_rna.cc.
Referenced by BPy_init_modules().
|
extern |
Definition at line 7170 of file bpy_rna.cc.
Referenced by BPY_rna_init(), BPY_rna_types(), and pyrna_func_to_py().
|
extern |
Definition at line 6999 of file bpy_rna.cc.
Referenced by BPY_rna_init(), BPY_rna_types(), and pyrna_prop_CreatePyObject().
|
extern |
Definition at line 7055 of file bpy_rna.cc.
Referenced by BPY_rna_init(), BPY_rna_types(), pyrna_prop_CreatePyObject(), and pyrna_py_to_prop().
|
extern |
Definition at line 6943 of file bpy_rna.cc.
Referenced by BPY_rna_init(), BPY_rna_types(), pyrna_prop_CreatePyObject(), and pyrna_prop_new().
|
extern |
Sub-classes of pyrna_struct_Type which support idprop definitions use this as a meta-class.
&PyType_Type on initialization. Definition at line 6816 of file bpy_rna.cc.
Referenced by BPY_rna_init(), BPY_rna_types(), and pyrna_srna_Subtype().
|
extern |
Definition at line 6876 of file bpy_rna.cc.
Referenced by BPY_rna_init(), BPY_rna_types(), BPY_rna_types_finalize_external_types(), Freestyle_evaluateColorRamp(), Freestyle_evaluateCurveMappingF(), pyrna_deferred_register_class_recursive(), pyrna_srna_PyBase(), pyrna_struct_CreatePyObject_from_type(), and pyrna_struct_new().