Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_types.h
| Show First 20 Lines • Show All 354 Lines • ▼ Show 20 Lines | typedef struct ArrayIterator { | ||||
| /** | /** | ||||
| * Optional skip function, | * Optional skip function, | ||||
| * when set the array as viewed by rna can contain only a subset of the members. | * when set the array as viewed by rna can contain only a subset of the members. | ||||
| * this changes indices so quick array index lookups are not possible when skip function is used. | * this changes indices so quick array index lookups are not possible when skip function is used. | ||||
| */ | */ | ||||
| IteratorSkipFunc skip; | IteratorSkipFunc skip; | ||||
| } ArrayIterator; | } ArrayIterator; | ||||
| typedef struct CountIterator { | |||||
| void *ptr; | |||||
| int item; | |||||
| } CountIterator; | |||||
| typedef struct CollectionPropertyIterator { | typedef struct CollectionPropertyIterator { | ||||
| /* internal */ | /* internal */ | ||||
| PointerRNA parent; | PointerRNA parent; | ||||
| PointerRNA builtin_parent; | PointerRNA builtin_parent; | ||||
| struct PropertyRNA *prop; | struct PropertyRNA *prop; | ||||
| union { | union { | ||||
| ArrayIterator array; | ArrayIterator array; | ||||
| ListBaseIterator listbase; | ListBaseIterator listbase; | ||||
| CountIterator count; | |||||
| void *custom; | void *custom; | ||||
| } internal; | } internal; | ||||
| int idprop; | int idprop; | ||||
| int level; | int level; | ||||
| /* external */ | /* external */ | ||||
| PointerRNA ptr; | PointerRNA ptr; | ||||
| int valid; | int valid; | ||||
| ▲ Show 20 Lines • Show All 281 Lines • Show Last 20 Lines | |||||