Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_types.h
| Context not available. | |||||
| /* Flags related to comparing and overriding RNA properties. Make sure enums are updated with these */ | /* Flags related to comparing and overriding RNA properties. Make sure enums are updated with these */ | ||||
| /* FREE FLAGS: 2, 3, 4, 5, 6, 7, 8, 9, 12 and above. */ | /* FREE FLAGS: 2, 3, 4, 5, 6, 7, 8, 9, 12 and above. */ | ||||
| typedef enum PropertyOverrideFlag { | typedef enum PropertyOverrideFlag { | ||||
| /* Means the property can be overriden by a local 'proxy' of some linked datablock. */ | /* Means the property can be overridden by a local 'proxy' of some linked datablock. */ | ||||
| PROPOVERRIDE_OVERRIDABLE_STATIC = (1 << 0), | PROPOVERRIDE_OVERRIDABLE_STATIC = (1 << 0), | ||||
| /* Forbid usage of this property in comparison (& hence override) code. | /* Forbid usage of this property in comparison (& hence override) code. | ||||
| Context not available. | |||||
| typedef enum FunctionFlag { | typedef enum FunctionFlag { | ||||
| /***** Options affecting callback signature. *****/ | /***** Options affecting callback signature. *****/ | ||||
| /* Those add additionnal parameters at the beginning of the C callback, like that: | /* Those add additional parameters at the beginning of the C callback, like that: | ||||
| * rna_my_func([ID *_selfid], | * rna_my_func([ID *_selfid], | ||||
| * [<DNA_STRUCT> *self|StructRNA *type], | * [<DNA_STRUCT> *self|StructRNA *type], | ||||
| * [Main *bmain], | * [Main *bmain], | ||||
| Context not available. | |||||