diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 14:08:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 14:12:49 +0300 |
commit | f8ce24f79624b5bae8e6894d3ed4e619cef1cbb7 (patch) | |
tree | 7adcb17276d427daa0f6283a6483e7eb6ef91215 /source/blender/makesrna | |
parent | d918217d35b687f174711d9ae35b8270909f1e28 (diff) |
Cleanup: sort forward declarations of enum & struct
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 2 | ||||
-rw-r--r-- | source/blender/makesrna/RNA_enum_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesrna/RNA_types.h | 8 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_internal_types.h | 12 |
4 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index de46605bc40..52ed11cac12 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -37,12 +37,12 @@ extern "C" { #endif -struct bContext; struct ID; struct ListBase; struct Main; struct ReportList; struct Scene; +struct bContext; /* Types */ diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index 64740098db4..603e3dc4f98 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -29,9 +29,9 @@ #include "RNA_types.h" +struct bNodeSocketType; struct bNodeTreeType; struct bNodeType; -struct bNodeSocketType; /* Types */ @@ -223,9 +223,9 @@ struct bNodeSocketType *rna_node_socket_type_from_enum(int value); const EnumPropertyItem *rna_node_socket_type_itemf( void *data, bool (*poll)(void *data, struct bNodeSocketType *), bool *r_free); -struct bContext; struct PointerRNA; struct PropertyRNA; +struct bContext; const EnumPropertyItem *rna_TransformOrientation_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free); const EnumPropertyItem *rna_Sensor_type_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free); const EnumPropertyItem *rna_Actuator_type_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free); diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h index f427aeae5a6..6de56c871c4 100644 --- a/source/blender/makesrna/RNA_types.h +++ b/source/blender/makesrna/RNA_types.h @@ -33,14 +33,14 @@ extern "C" { #endif -struct ParameterList; +struct BlenderRNA; struct FunctionRNA; +struct Main; +struct ParameterList; struct PropertyRNA; +struct ReportList; struct StructRNA; -struct BlenderRNA; struct bContext; -struct Main; -struct ReportList; /** Pointer * diff --git a/source/blender/makesrna/intern/rna_internal_types.h b/source/blender/makesrna/intern/rna_internal_types.h index f9929cec7b1..e7c4f812127 100644 --- a/source/blender/makesrna/intern/rna_internal_types.h +++ b/source/blender/makesrna/intern/rna_internal_types.h @@ -33,17 +33,17 @@ #include "RNA_types.h" struct BlenderRNA; +struct CollectionPropertyIterator; struct ContainerRNA; -struct StructRNA; -struct PropertyRNA; -struct PointerRNA; struct FunctionRNA; -struct CollectionPropertyIterator; -struct bContext; -struct IDProperty; struct GHash; +struct IDProperty; struct Main; +struct PointerRNA; +struct PropertyRNA; struct Scene; +struct StructRNA; +struct bContext; #ifdef UNIT_TEST #define RNA_MAX_ARRAY_LENGTH 64 |