Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_types.h
| Show First 20 Lines • Show All 452 Lines • ▼ Show 20 Lines | |||||
| typedef struct RawArray { | typedef struct RawArray { | ||||
| void *array; | void *array; | ||||
| RawPropertyType type; | RawPropertyType type; | ||||
| int len; | int len; | ||||
| int stride; | int stride; | ||||
| } RawArray; | } RawArray; | ||||
| typedef struct EnumPropertyItem_Order { | |||||
| /* Item indices sorted, for binary search on large lists. */ | |||||
| unsigned int *indices; | |||||
| int indices_len; | |||||
| } EnumPropertyItem_Order; | |||||
| /** | /** | ||||
| * This struct is are typically defined in arrays which define an *enum* for RNA, | * This struct is are typically defined in arrays which define an *enum* for RNA, | ||||
| * which is used by the RNA API both for user-interface and the Python API. | * which is used by the RNA API both for user-interface and the Python API. | ||||
| */ | */ | ||||
| typedef struct EnumPropertyItem { | typedef struct EnumPropertyItem { | ||||
| /** The internal value of the enum, not exposed to users. */ | /** The internal value of the enum, not exposed to users. */ | ||||
| int value; | int value; | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 250 Lines • Show Last 20 Lines | |||||