Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-28 13:08:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-28 13:17:58 +0300
commitc0f88ed8a860026e32ec6a06287fcf9394b4cf0a (patch)
tree65a06f6b9b22c85a80f2d64069d36f435eeb97aa /source/blender/makesrna
parentd473d5be5f59ed2cdd8e7b08feabcf7d9b8a8b5b (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.h2
-rw-r--r--source/blender/makesrna/RNA_enum_types.h4
-rw-r--r--source/blender/makesrna/RNA_types.h8
-rw-r--r--source/blender/makesrna/intern/rna_internal_types.h12
4 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index b00b692a609..671b3dd871e 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -37,7 +37,6 @@
extern "C" {
#endif
-struct bContext;
struct ID;
struct IDOverrideStatic;
struct IDOverrideStaticProperty;
@@ -46,6 +45,7 @@ struct ListBase;
struct Main;
struct ReportList;
struct Scene;
+struct bContext;
/* Types */
extern BlenderRNA BLENDER_RNA;
diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h
index af4f2aae780..8652ca53695 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 */
@@ -236,9 +236,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);
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 2c1bd2069b0..7aed2ce8232 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 f03752968c9..93908e05553 100644
--- a/source/blender/makesrna/intern/rna_internal_types.h
+++ b/source/blender/makesrna/intern/rna_internal_types.h
@@ -33,20 +33,20 @@
#include "RNA_types.h"
struct BlenderRNA;
+struct CollectionPropertyIterator;
struct ContainerRNA;
-struct StructRNA;
-struct PropertyRNA;
-struct PointerRNA;
struct FunctionRNA;
-struct CollectionPropertyIterator;
-struct bContext;
+struct GHash;
struct IDOverrideStatic;
struct IDOverrideStaticProperty;
struct IDOverrideStaticPropertyOperation;
struct IDProperty;
-struct GHash;
struct Main;
+struct PointerRNA;
+struct PropertyRNA;
struct Scene;
+struct StructRNA;
+struct bContext;
/* store local properties here */
#define RNA_IDP_UI "_RNA_UI"