Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_rna.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 2,590 Lines • ▼ Show 20 Lines | for (count = start; rna_macro_iter.valid; RNA_property_collection_next(&rna_macro_iter)) { | ||||
| } | } | ||||
| } | } | ||||
| RNA_property_collection_end(&rna_macro_iter); | RNA_property_collection_end(&rna_macro_iter); | ||||
| return list; | return list; | ||||
| } | } | ||||
| /** TODO - dimensions | /** | ||||
| * TODO - dimensions | |||||
| * \note Could also use pyrna_prop_array_to_py_index(self, count) in a loop, but it's much slower | * \note Could also use pyrna_prop_array_to_py_index(self, count) in a loop, but it's much slower | ||||
| * since at the moment it reads (and even allocates) the entire array for each index. | * since at the moment it reads (and even allocates) the entire array for each index. | ||||
| */ | */ | ||||
| static PyObject *pyrna_prop_array_subscript_slice(BPy_PropertyArrayRNA *self, | static PyObject *pyrna_prop_array_subscript_slice(BPy_PropertyArrayRNA *self, | ||||
| PointerRNA *ptr, | PointerRNA *ptr, | ||||
| PropertyRNA *prop, | PropertyRNA *prop, | ||||
| Py_ssize_t start, | Py_ssize_t start, | ||||
| Py_ssize_t stop, | Py_ssize_t stop, | ||||
| ▲ Show 20 Lines • Show All 6,383 Lines • Show Last 20 Lines | |||||