forked from bartvdbraak/blender
Cleanup: sort struct declarations
This commit is contained in:
parent
bf5b1fa726
commit
42017b006e
@ -29,9 +29,9 @@
|
||||
|
||||
class GHOST_SystemWayland;
|
||||
|
||||
struct output_t;
|
||||
struct window_t;
|
||||
struct wl_surface;
|
||||
struct output_t;
|
||||
|
||||
class GHOST_WindowWayland : public GHOST_Window {
|
||||
public:
|
||||
|
@ -28,7 +28,6 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct AnimationEvalContext;
|
||||
struct bAction;
|
||||
struct BMEditMesh;
|
||||
struct Bone;
|
||||
struct Depsgraph;
|
||||
@ -39,6 +38,7 @@ struct Mesh;
|
||||
struct Object;
|
||||
struct PoseTree;
|
||||
struct Scene;
|
||||
struct bAction;
|
||||
struct bArmature;
|
||||
struct bConstraint;
|
||||
struct bGPDstroke;
|
||||
|
@ -30,6 +30,7 @@ extern "C" {
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct ListBase;
|
||||
struct MDeformVert;
|
||||
struct MEdge;
|
||||
@ -37,7 +38,6 @@ struct MLoop;
|
||||
struct MPoly;
|
||||
struct Object;
|
||||
struct bDeformGroup;
|
||||
struct ID;
|
||||
|
||||
bool BKE_object_supports_vertex_groups(const struct Object *ob);
|
||||
const struct ListBase *BKE_object_defgroup_list(const struct Object *ob);
|
||||
|
@ -32,8 +32,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct BMLoop;
|
||||
struct BMesh;
|
||||
struct BMPartialUpdate;
|
||||
struct BMesh;
|
||||
struct BMeshCalcTessellation_Params;
|
||||
struct BoundBox;
|
||||
struct Depsgraph;
|
||||
|
@ -35,12 +35,12 @@
|
||||
#include "BKE_geometry_set.h"
|
||||
|
||||
struct Collection;
|
||||
struct Curve;
|
||||
struct CurveEval;
|
||||
struct Mesh;
|
||||
struct Object;
|
||||
struct PointCloud;
|
||||
struct Volume;
|
||||
struct Curve;
|
||||
struct CurveEval;
|
||||
|
||||
enum class GeometryOwnershipType {
|
||||
/* The geometry is owned. This implies that it can be changed. */
|
||||
|
@ -42,8 +42,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct Collection;
|
||||
struct BlendFileReadReport;
|
||||
struct Collection;
|
||||
struct ID;
|
||||
struct IDOverrideLibrary;
|
||||
struct IDOverrideLibraryProperty;
|
||||
|
@ -24,8 +24,8 @@
|
||||
|
||||
struct BMAllocTemplate;
|
||||
struct BMLoopNorEditDataArray;
|
||||
struct MLoopNorSpaceArray;
|
||||
struct BMPartialUpdate;
|
||||
struct MLoopNorSpaceArray;
|
||||
|
||||
void BM_mesh_elem_toolflags_ensure(BMesh *bm);
|
||||
void BM_mesh_elem_toolflags_clear(BMesh *bm);
|
||||
|
@ -20,8 +20,8 @@
|
||||
* \ingroup bmesh
|
||||
*/
|
||||
|
||||
struct Heap;
|
||||
struct BMPartialUpdate;
|
||||
struct Heap;
|
||||
|
||||
#include "BLI_compiler_attrs.h"
|
||||
|
||||
|
@ -33,6 +33,7 @@ struct Depsgraph;
|
||||
/* ------------------------------------------------ */
|
||||
|
||||
struct CacheFile;
|
||||
struct Collection;
|
||||
struct CustomData_MeshMasks;
|
||||
struct ID;
|
||||
struct Main;
|
||||
@ -40,7 +41,6 @@ struct Object;
|
||||
struct Scene;
|
||||
struct Simulation;
|
||||
struct bNodeTree;
|
||||
struct Collection;
|
||||
|
||||
#include "BLI_sys_types.h"
|
||||
|
||||
|
@ -34,9 +34,9 @@ struct ListBase;
|
||||
|
||||
struct ARegion;
|
||||
struct ARegionType;
|
||||
struct FModifier;
|
||||
struct Main;
|
||||
struct NlaStrip;
|
||||
struct FModifier;
|
||||
struct PanelType;
|
||||
struct ReportList;
|
||||
struct ScrArea;
|
||||
|
@ -31,7 +31,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct bAction;
|
||||
struct Base;
|
||||
struct Bone;
|
||||
struct Depsgraph;
|
||||
@ -46,6 +45,7 @@ struct Scene;
|
||||
struct UndoType;
|
||||
struct View3D;
|
||||
struct ViewLayer;
|
||||
struct bAction;
|
||||
struct bArmature;
|
||||
struct bContext;
|
||||
struct bPoseChannel;
|
||||
|
@ -28,9 +28,9 @@ extern "C" {
|
||||
|
||||
struct AssetFilterSettings;
|
||||
struct AssetLibraryReference;
|
||||
struct bContext;
|
||||
struct Main;
|
||||
struct ReportList;
|
||||
struct bContext;
|
||||
struct wmNotifier;
|
||||
|
||||
typedef struct AssetTempIDConsumer AssetTempIDConsumer;
|
||||
|
@ -31,6 +31,7 @@ struct ID;
|
||||
struct Main;
|
||||
struct Scene;
|
||||
struct ScrArea;
|
||||
struct SpaceNode;
|
||||
struct Tex;
|
||||
struct View2D;
|
||||
struct bContext;
|
||||
@ -40,7 +41,6 @@ struct bNodeSocketType;
|
||||
struct bNodeTree;
|
||||
struct bNodeTreeType;
|
||||
struct bNodeType;
|
||||
struct SpaceNode;
|
||||
|
||||
typedef enum {
|
||||
NODE_TOP = 1,
|
||||
|
@ -34,9 +34,9 @@ struct ParticleSystem;
|
||||
struct Scene;
|
||||
struct UndoType;
|
||||
struct ViewLayer;
|
||||
struct wmGenericUserData;
|
||||
struct bContext;
|
||||
struct rcti;
|
||||
struct wmGenericUserData;
|
||||
|
||||
/* particle edit mode */
|
||||
void PE_free_ptcache_edit(struct PTCacheEdit *edit);
|
||||
|
@ -16,14 +16,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
struct SpreadsheetContext;
|
||||
struct SpaceSpreadsheet;
|
||||
struct SpaceNode;
|
||||
struct ID;
|
||||
struct bNode;
|
||||
struct Main;
|
||||
struct bContext;
|
||||
struct Object;
|
||||
struct SpaceNode;
|
||||
struct SpaceSpreadsheet;
|
||||
struct SpreadsheetContext;
|
||||
struct bContext;
|
||||
struct bNode;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -25,8 +25,8 @@
|
||||
*/
|
||||
|
||||
struct ARegion;
|
||||
struct bContext;
|
||||
struct View3D;
|
||||
struct bContext;
|
||||
struct wmOperatorType;
|
||||
|
||||
void WM_OT_gpencil_import_svg(struct wmOperatorType *ot);
|
||||
|
@ -34,8 +34,8 @@ struct Tex;
|
||||
struct bContext;
|
||||
struct bContextDataResult;
|
||||
struct bNode;
|
||||
struct bNodeTree;
|
||||
struct bNodeSocket;
|
||||
struct bNodeTree;
|
||||
struct wmOperatorType;
|
||||
|
||||
struct SpaceProperties_Runtime {
|
||||
|
@ -22,8 +22,8 @@
|
||||
#include "BLI_float2.hh"
|
||||
#include "BLI_float3.hh"
|
||||
|
||||
struct Object;
|
||||
struct Collection;
|
||||
struct Object;
|
||||
|
||||
namespace blender::ed::spreadsheet {
|
||||
|
||||
|
@ -23,9 +23,9 @@
|
||||
#include "spreadsheet_dataset_layout.hh"
|
||||
|
||||
struct ARegion;
|
||||
struct uiBlock;
|
||||
struct View2D;
|
||||
struct bContext;
|
||||
struct uiBlock;
|
||||
|
||||
namespace blender::ed::spreadsheet {
|
||||
|
||||
|
@ -18,9 +18,9 @@
|
||||
|
||||
#include "BLI_vector.hh"
|
||||
|
||||
struct uiBlock;
|
||||
struct bContext;
|
||||
struct ARegion;
|
||||
struct bContext;
|
||||
struct uiBlock;
|
||||
|
||||
namespace blender::ed::spreadsheet {
|
||||
|
||||
|
@ -575,9 +575,9 @@ BLI_INLINE int lineart_LineIntersectTest2d(
|
||||
}
|
||||
|
||||
struct Depsgraph;
|
||||
struct Scene;
|
||||
struct LineartRenderBuffer;
|
||||
struct LineartGpencilModifierData;
|
||||
struct LineartRenderBuffer;
|
||||
struct Scene;
|
||||
|
||||
void MOD_lineart_destroy_render_data(struct LineartGpencilModifierData *lmd);
|
||||
|
||||
@ -602,8 +602,8 @@ LineartBoundingArea *MOD_lineart_get_parent_bounding_area(LineartRenderBuffer *r
|
||||
|
||||
LineartBoundingArea *MOD_lineart_get_bounding_area(LineartRenderBuffer *rb, double x, double y);
|
||||
|
||||
struct bGPDlayer;
|
||||
struct bGPDframe;
|
||||
struct bGPDlayer;
|
||||
|
||||
void MOD_lineart_gpencil_generate(LineartCache *cache,
|
||||
struct Depsgraph *depsgraph,
|
||||
|
@ -33,10 +33,10 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
struct LineartStaticMemPool;
|
||||
struct LineartStaticMemPoolNode;
|
||||
struct LineartEdge;
|
||||
struct LineartRenderBuffer;
|
||||
struct LineartStaticMemPool;
|
||||
struct LineartStaticMemPoolNode;
|
||||
|
||||
void *lineart_list_append_pointer_pool(ListBase *h, struct LineartStaticMemPool *smp, void *data);
|
||||
void *lineart_list_append_pointer_pool_sized(ListBase *h,
|
||||
|
@ -69,8 +69,8 @@ extern "C" {
|
||||
* \attention defined in ???
|
||||
*/
|
||||
struct ImBuf;
|
||||
struct rcti;
|
||||
struct rctf;
|
||||
struct rcti;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -27,9 +27,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct ARegion;
|
||||
struct bContext;
|
||||
struct Object;
|
||||
struct View3D;
|
||||
struct bContext;
|
||||
|
||||
typedef struct GpencilIOParams {
|
||||
bContext *C;
|
||||
|
@ -37,9 +37,9 @@ struct Object;
|
||||
struct RegionView3D;
|
||||
struct Scene;
|
||||
|
||||
struct bGPdata;
|
||||
struct bGPDlayer;
|
||||
struct bGPDstroke;
|
||||
struct bGPdata;
|
||||
|
||||
using blender::Vector;
|
||||
|
||||
|
@ -24,10 +24,10 @@
|
||||
#include "gpencil_io_import_base.hh"
|
||||
|
||||
struct GpencilIOParams;
|
||||
struct NSVGshape;
|
||||
struct NSVGpath;
|
||||
struct bGPdata;
|
||||
struct NSVGshape;
|
||||
struct bGPDframe;
|
||||
struct bGPdata;
|
||||
|
||||
#define SVG_IMPORTER_NAME "SVG Import for Grease Pencil"
|
||||
#define SVG_IMPORTER_VERSION "v1.0"
|
||||
|
@ -35,6 +35,7 @@ extern "C" {
|
||||
#define MAXTEXTBOX 256 /* used in readfile.c and editfont.c */
|
||||
|
||||
struct AnimData;
|
||||
struct CurveEval;
|
||||
struct CurveProfile;
|
||||
struct EditFont;
|
||||
struct GHash;
|
||||
@ -43,7 +44,6 @@ struct Key;
|
||||
struct Material;
|
||||
struct Object;
|
||||
struct VFont;
|
||||
struct CurveEval;
|
||||
|
||||
/* These two Lines with # tell makesdna this struct can be excluded. */
|
||||
#
|
||||
|
@ -33,8 +33,8 @@ extern "C" {
|
||||
|
||||
struct AnimData;
|
||||
struct Curve;
|
||||
struct MDeformVert;
|
||||
struct Curve;
|
||||
struct MDeformVert;
|
||||
|
||||
#define GP_DEFAULT_PIX_FACTOR 1.0f
|
||||
#define GP_DEFAULT_GRID_LINES 4
|
||||
|
@ -37,6 +37,8 @@ struct Collection;
|
||||
struct ID;
|
||||
struct Image;
|
||||
struct ListBase;
|
||||
struct Material;
|
||||
struct Tex;
|
||||
struct bGPdata;
|
||||
struct bNodeInstanceHash;
|
||||
struct bNodeLink;
|
||||
@ -44,8 +46,6 @@ struct bNodePreview;
|
||||
struct bNodeTreeExec;
|
||||
struct bNodeType;
|
||||
struct uiBlock;
|
||||
struct Tex;
|
||||
struct Material;
|
||||
|
||||
#define NODE_MAXSTR 64
|
||||
|
||||
|
@ -43,9 +43,9 @@ extern "C" {
|
||||
struct Ipo;
|
||||
struct MovieClip;
|
||||
struct Scene;
|
||||
struct SequenceLookup;
|
||||
struct VFont;
|
||||
struct bSound;
|
||||
struct SequenceLookup;
|
||||
|
||||
/* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */
|
||||
|
||||
|
@ -20,8 +20,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
struct AnimationEvalContext;
|
||||
struct ARegionType;
|
||||
struct AnimationEvalContext;
|
||||
struct ChannelDriver; /* DNA_anim_types.h */
|
||||
struct ID; /* DNA_ID.h */
|
||||
struct ListBase; /* DNA_listBase.h */
|
||||
|
@ -30,9 +30,9 @@ extern "C" {
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
struct Editing;
|
||||
struct Sequence;
|
||||
struct GSet;
|
||||
struct GSetIterator;
|
||||
struct Sequence;
|
||||
|
||||
#define SEQ_ITERATOR_FOREACH(var, collection) \
|
||||
for (SeqIterator iter = {{{NULL}}}; \
|
||||
|
@ -34,8 +34,8 @@ struct ListBase;
|
||||
struct Main;
|
||||
struct Scene;
|
||||
struct SeqIndexBuildContext;
|
||||
struct Sequence;
|
||||
struct SeqRenderData;
|
||||
struct Sequence;
|
||||
|
||||
bool SEQ_proxy_rebuild_context(struct Main *bmain,
|
||||
struct Depsgraph *depsgraph,
|
||||
|
@ -32,8 +32,8 @@ extern "C" {
|
||||
struct Editing;
|
||||
struct Scene;
|
||||
struct Sequence;
|
||||
struct SequencerToolSettings;
|
||||
struct SequenceLookup;
|
||||
struct SequencerToolSettings;
|
||||
|
||||
/* RNA enums, just to be more readable */
|
||||
enum {
|
||||
|
@ -29,8 +29,8 @@ extern "C" {
|
||||
|
||||
struct ListBase;
|
||||
struct Scene;
|
||||
struct Sequence;
|
||||
struct SeqCollection;
|
||||
struct Sequence;
|
||||
|
||||
int SEQ_transform_get_left_handle_frame(struct Sequence *seq);
|
||||
int SEQ_transform_get_right_handle_frame(struct Sequence *seq);
|
||||
|
Loading…
Reference in New Issue
Block a user