Blender
V3.3
|
Go to the source code of this file.
Macros | |
#define | BPY_INTERN_STR(var, str) |
Functions | |
void | bpy_intern_string_init (void) |
void | bpy_intern_string_exit (void) |
Variables | |
static PyObject * | bpy_intern_str_arr [17] |
PyObject * | bpy_intern_str___annotations__ |
PyObject * | bpy_intern_str___doc__ |
PyObject * | bpy_intern_str___main__ |
PyObject * | bpy_intern_str___module__ |
PyObject * | bpy_intern_str___name__ |
PyObject * | bpy_intern_str___slots__ |
PyObject * | bpy_intern_str_attr |
PyObject * | bpy_intern_str_bl_property |
PyObject * | bpy_intern_str_bl_rna |
PyObject * | bpy_intern_str_bl_target_properties |
PyObject * | bpy_intern_str_bpy_types |
PyObject * | bpy_intern_str_frame |
PyObject * | bpy_intern_str_properties |
PyObject * | bpy_intern_str_register |
PyObject * | bpy_intern_str_self |
PyObject * | bpy_intern_str_depsgraph |
PyObject * | bpy_intern_str_unregister |
Store python versions of strings frequently used for python lookups to avoid converting, creating the hash and freeing every time as PyDict_GetItemString and PyObject_GetAttrString do.
Definition in file bpy_intern_string.c.
Definition at line 70 of file bpy_intern_string.c.
References ARRAY_SIZE, and bpy_intern_str_arr.
Referenced by BPY_python_end().
Definition at line 37 of file bpy_intern_string.c.
References ARRAY_SIZE, BLI_assert, BPY_INTERN_STR, bpy_intern_str___annotations__, bpy_intern_str___doc__, bpy_intern_str___main__, bpy_intern_str___module__, bpy_intern_str___name__, bpy_intern_str___slots__, bpy_intern_str_arr, bpy_intern_str_attr, bpy_intern_str_bl_property, bpy_intern_str_bl_rna, bpy_intern_str_bl_target_properties, bpy_intern_str_bpy_types, bpy_intern_str_depsgraph, bpy_intern_str_frame, bpy_intern_str_properties, bpy_intern_str_register, bpy_intern_str_self, and bpy_intern_str_unregister.
Referenced by BPY_python_start().
PyObject* bpy_intern_str___annotations__ |
Definition at line 19 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and pyrna_deferred_register_props().
PyObject* bpy_intern_str___doc__ |
Definition at line 20 of file bpy_intern_string.c.
Referenced by bpy_class_validate_recursive(), and bpy_intern_string_init().
PyObject* bpy_intern_str___main__ |
Definition at line 21 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and python_script_exec().
PyObject* bpy_intern_str___module__ |
Definition at line 22 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and pyrna_srna_Subtype().
PyObject* bpy_intern_str___name__ |
Definition at line 23 of file bpy_intern_string.c.
Referenced by bpy_class_validate_recursive(), and bpy_intern_string_init().
PyObject* bpy_intern_str___slots__ |
Definition at line 24 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), pyrna_srna_ExternalType(), and pyrna_srna_Subtype().
|
static |
Definition at line 17 of file bpy_intern_string.c.
Referenced by bpy_intern_string_exit(), and bpy_intern_string_init().
PyObject* bpy_intern_str_attr |
Definition at line 25 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and deferred_register_prop().
PyObject* bpy_intern_str_bl_property |
Definition at line 26 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and operator_properties_init().
PyObject* bpy_intern_str_bl_rna |
Definition at line 27 of file bpy_intern_string.c.
Referenced by bpy_class_free(), bpy_intern_string_init(), pyrna_register_class(), pyrna_struct_as_srna(), pyrna_struct_bl_rna_find_subclass_recursive(), pyrna_struct_bl_rna_get_subclass(), pyrna_subtype_set_rna(), and pyrna_unregister_class().
PyObject* bpy_intern_str_bl_target_properties |
Definition at line 28 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and gizmo_properties_init().
PyObject* bpy_intern_str_bpy_types |
Definition at line 29 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and pyrna_srna_Subtype().
PyObject* bpy_intern_str_depsgraph |
Definition at line 34 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and bpy_pydriver_namespace_update_depsgraph().
PyObject* bpy_intern_str_frame |
Definition at line 30 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and bpy_pydriver_namespace_update_frame().
PyObject* bpy_intern_str_properties |
Definition at line 31 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and pyrna_py_to_prop().
PyObject* bpy_intern_str_register |
Definition at line 32 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and pyrna_register_class().
PyObject* bpy_intern_str_self |
Definition at line 33 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), bpy_pydriver_namespace_clear_self(), and bpy_pydriver_namespace_update_self().
PyObject* bpy_intern_str_unregister |
Definition at line 35 of file bpy_intern_string.c.
Referenced by bpy_intern_string_init(), and pyrna_unregister_class().