diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal_types.h')
-rw-r--r-- | source/blender/makesrna/intern/rna_internal_types.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_internal_types.h b/source/blender/makesrna/intern/rna_internal_types.h index e71352748ea..3fc6b0e4599 100644 --- a/source/blender/makesrna/intern/rna_internal_types.h +++ b/source/blender/makesrna/intern/rna_internal_types.h @@ -88,7 +88,8 @@ typedef int (*PropStringLengthFunc)(struct PointerRNA *ptr); typedef void (*PropStringSetFunc)(struct PointerRNA *ptr, const char *value); typedef int (*PropEnumGetFunc)(struct PointerRNA *ptr); typedef void (*PropEnumSetFunc)(struct PointerRNA *ptr, int value); -typedef EnumPropertyItem *(*PropEnumItemFunc)(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); +typedef EnumPropertyItem *(*PropEnumItemFunc)(struct bContext *C, struct PointerRNA *ptr, + struct PropertyRNA *prop, int *free); typedef PointerRNA (*PropPointerGetFunc)(struct PointerRNA *ptr); typedef StructRNA* (*PropPointerTypeFunc)(struct PointerRNA *ptr); typedef void (*PropPointerSetFunc)(struct PointerRNA *ptr, const PointerRNA value); @@ -333,21 +334,21 @@ struct StructRNA { struct StructRNA *nested; /* function to give the more specific type */ - StructRefineFunc refine; + StructRefineFunc refine; /* function to find path to this struct in an ID */ - StructPathFunc path; + StructPathFunc path; /* function to register/unregister subclasses */ - StructRegisterFunc reg; - StructUnregisterFunc unreg; + StructRegisterFunc reg; + StructUnregisterFunc unreg; StructInstanceFunc instance; /* callback to get id properties */ IDPropertiesFunc idproperties; /* functions of this struct */ - ListBase functions; + ListBase functions; }; /* Blender RNA |