Cleanup: sort struct forward declarations

This commit is contained in:
Campbell Barton 2022-01-24 21:16:06 +11:00
parent f9b6a257bd
commit 4b1f243e4d
26 changed files with 36 additions and 36 deletions

View File

@ -30,8 +30,8 @@ struct LibraryLink_Params;
struct Main;
struct ReportList;
struct Scene;
struct ViewLayer;
struct View3D;
struct ViewLayer;
typedef struct BlendfileLinkAppendContext BlendfileLinkAppendContext;
typedef struct BlendfileLinkAppendContextItem BlendfileLinkAppendContextItem;

View File

@ -16,8 +16,8 @@
#pragma once
struct Mesh;
struct CurveEval;
struct Mesh;
/** \file
* \ingroup bke

View File

@ -27,11 +27,11 @@ extern "C" {
#endif
struct Depsgraph;
struct ID;
struct ListBase;
struct Object;
struct ParticleSystem;
struct Scene;
struct ID;
/* ---------------------------------------------------- */
/* Dupli-Geometry */

View File

@ -31,11 +31,11 @@
extern "C" {
#endif
struct BPathForeachPathData;
struct BlendDataReader;
struct BlendExpander;
struct BlendLibReader;
struct BlendWriter;
struct BPathForeachPathData;
struct ID;
struct LibraryForeachIDData;
struct Main;

View File

@ -20,12 +20,12 @@
* \ingroup bke
*/
struct ID;
struct Main;
struct bNode;
struct bNodeLink;
struct bNodeSocket;
struct bNodeTree;
struct bNodeLink;
struct Main;
struct ID;
#ifdef __cplusplus
extern "C" {

View File

@ -47,8 +47,8 @@ struct MDeformVert;
struct Mesh;
struct ModifierEvalContext;
struct Object;
struct ShrinkwrapModifierData;
struct ShrinkwrapGpencilModifierData;
struct ShrinkwrapModifierData;
struct SpaceTransform;
/* Information about boundary edges in the mesh. */

View File

@ -30,8 +30,8 @@ extern "C" {
#endif
struct Mesh;
struct Subdiv;
struct OpenSubdiv_EvaluatorCache;
struct Subdiv;
typedef enum eSubdivEvaluatorType {
SUBDIV_EVALUATOR_TYPE_CPU,

View File

@ -71,8 +71,8 @@ struct Scene;
struct Simulation;
struct Speaker;
struct Tex;
struct ViewLayer;
struct VFont;
struct ViewLayer;
struct World;
struct bAction;
struct bArmature;

View File

@ -24,12 +24,12 @@
struct DRWShadingGroup;
struct FluidModifierData;
struct GPUMaterial;
struct ModifierData;
struct Object;
struct ParticleSystem;
struct RegionView3D;
struct ViewLayer;
struct GPUMaterial;
#define UBO_FIRST_COLOR colorWire
#define UBO_LAST_COLOR colorUVShadow

View File

@ -31,9 +31,9 @@
extern "C" {
#endif
struct GPUViewport;
struct DrawEngineType;
struct DRWRegisteredDrawEngine;
struct DrawEngineType;
struct GPUViewport;
/* NOTE these structs are only here for reading the actual lists from the engine.
* The actual length of them is stored in a ViewportEngineData_Info.

View File

@ -28,8 +28,8 @@
extern "C" {
#endif
struct Main;
struct AssetLibrary;
struct Main;
void ED_asset_catalogs_save_from_main_path(struct AssetLibrary *library, const struct Main *bmain);

View File

@ -25,8 +25,8 @@ extern "C" {
#endif
struct ID;
struct bContext;
struct Main;
struct bContext;
/**
* Mark the datablock as asset.

View File

@ -38,10 +38,10 @@ struct Main;
struct ReportList;
struct Scene;
struct SpaceImage;
struct View2D;
struct bContext;
struct wmOperator;
struct wmWindowManager;
struct View2D;
/* image_draw.c */
float ED_space_image_zoom_level(const struct View2D *v2d, int grid_dimension);

View File

@ -31,8 +31,8 @@ namespace blender::nodes::geometry_nodes_eval_log {
struct GeometryAttributeInfo;
}
struct uiBlock;
struct StructRNA;
struct uiBlock;
struct uiSearchItems;
namespace blender::ui {

View File

@ -40,8 +40,8 @@ struct uiBlock;
struct uiBut;
struct uiButTreeRow;
struct uiLayout;
struct wmEvent;
struct wmDrag;
struct wmEvent;
namespace blender::ui {

View File

@ -34,11 +34,11 @@ extern "C" {
struct ARegion;
struct ARegionType;
struct AssetLibrary;
struct FileSelectParams;
struct FileAssetSelectParams;
struct FileSelectParams;
struct SpaceFile;
struct uiLayout;
struct View2D;
struct uiLayout;
/* file_draw.c */

View File

@ -45,11 +45,11 @@
#include "node_intern.hh"
struct Mesh;
struct Curve;
struct Light;
struct World;
struct Material;
struct Mesh;
struct World;
namespace blender::ed::space_node {

View File

@ -38,8 +38,8 @@
struct ID;
struct LayerCollection;
struct ListBase;
struct Library;
struct ListBase;
struct Main;
struct Scene;
struct Sequence;

View File

@ -33,13 +33,13 @@ struct ARegionType;
struct Depsgraph;
struct Main;
struct Scene;
struct Sequence;
struct SeqCollection;
struct Sequence;
struct SpaceSeq;
struct StripElem;
struct View2D;
struct bContext;
struct rctf;
struct View2D;
struct wmOperator;
#define OVERLAP_ALPHA 180

View File

@ -36,8 +36,8 @@ struct SpaceSpreadsheet_Runtime {
}
};
struct bContext;
struct ARegionType;
struct bContext;
void spreadsheet_operatortypes();
void spreadsheet_update_context_path(const bContext *C);

View File

@ -40,10 +40,10 @@ extern "C" {
typedef struct GHash GHash;
typedef struct GPUViewport GPUViewport;
struct GPUFrameBuffer;
struct DRWData;
struct DefaultFramebufferList;
struct DefaultTextureList;
struct DRWData;
struct GPUFrameBuffer;
GPUViewport *GPU_viewport_create(void);
GPUViewport *GPU_viewport_stereo_create(void);

View File

@ -38,6 +38,7 @@ struct ID;
struct Image;
struct ListBase;
struct Material;
struct PreviewImage;
struct Tex;
struct bGPdata;
struct bNodeInstanceHash;
@ -46,7 +47,6 @@ struct bNodePreview;
struct bNodeTreeExec;
struct bNodeType;
struct uiBlock;
struct PreviewImage;
#define NODE_MAXSTR 64

View File

@ -25,9 +25,9 @@
struct Depsgraph;
struct ImBuf;
struct MLoopUV;
struct Mesh;
struct Render;
struct MLoopUV;
#ifdef __cplusplus
extern "C" {

View File

@ -26,11 +26,11 @@
extern "C" {
#endif
struct Mesh;
struct IMBuf;
struct MLoopUV;
struct ImBuf;
struct DerivedMesh;
struct IMBuf;
struct ImBuf;
struct MLoopUV;
struct Mesh;
/**
* Generate a margin around the textures uv islands by copying pixels from the adjacent polygon.

View File

@ -32,9 +32,9 @@ extern "C" {
struct ListBase;
struct Mask;
struct Scene;
struct SeqRenderData;
struct Sequence;
struct StripElem;
struct SeqRenderData;
/**
* Sort strips in provided seqbase. Effect strips are trailing the list and they are sorted by

View File

@ -27,8 +27,8 @@
extern "C" {
#endif
struct Scene;
struct ListBase;
struct Scene;
bool sequencer_seq_generates_image(struct Sequence *seq);
void seq_open_anim_file(struct Scene *scene, struct Sequence *seq, bool openfile);