Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_internal_types.h
| Show First 20 Lines • Show All 488 Lines • ▼ Show 20 Lines | typedef struct CollectionPropertyRNA { | ||||
| PropCollectionBeginFunc begin; | PropCollectionBeginFunc begin; | ||||
| PropCollectionNextFunc next; | PropCollectionNextFunc next; | ||||
| PropCollectionEndFunc end; /* optional */ | PropCollectionEndFunc end; /* optional */ | ||||
| PropCollectionGetFunc get; | PropCollectionGetFunc get; | ||||
| PropCollectionLengthFunc length; /* optional */ | PropCollectionLengthFunc length; /* optional */ | ||||
| PropCollectionLookupIntFunc lookupint; /* optional */ | PropCollectionLookupIntFunc lookupint; /* optional */ | ||||
| PropCollectionLookupStringFunc lookupstring; /* optional */ | PropCollectionLookupStringFunc lookupstring; /* optional */ | ||||
| PropCollectionAssignIntFunc assignint; /* optional */ | PropCollectionAssignIntFunc assignint; /* optional */ | ||||
| struct StructRNA *item_type; /* the type of this item */ | struct StructRNA *item_type; /* the type of this item */ | ||||
| /* Collection flag #CollectionPropertyFlag. */ | |||||
| int flag; | |||||
| } CollectionPropertyRNA; | } CollectionPropertyRNA; | ||||
| /* changes to this struct require updating rna_generate_struct in makesrna.c */ | /* changes to this struct require updating rna_generate_struct in makesrna.c */ | ||||
| struct StructRNA { | struct StructRNA { | ||||
| /* structs are containers of properties */ | /* structs are containers of properties */ | ||||
| ContainerRNA cont; | ContainerRNA cont; | ||||
| /* unique identifier, keep after 'cont' */ | /* unique identifier, keep after 'cont' */ | ||||
| ▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines | |||||