Cleanup: redundant forward declarations of structs
This commit is contained in:
@@ -58,7 +58,6 @@ struct CCGElem;
|
||||
struct CCGKey;
|
||||
struct CustomData_MeshMasks;
|
||||
struct Depsgraph;
|
||||
struct MFace;
|
||||
struct Mesh;
|
||||
struct ModifierData;
|
||||
struct Object;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
struct AnimData;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct Library;
|
||||
|
||||
@@ -18,7 +18,6 @@ extern "C" {
|
||||
|
||||
struct AnimData;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Depsgraph;
|
||||
struct FCurve;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
struct Main;
|
||||
struct UserDef;
|
||||
struct bContext;
|
||||
|
||||
/**
|
||||
* Only to be called on exit Blender.
|
||||
|
||||
@@ -20,12 +20,9 @@
|
||||
struct BLI_Iterator;
|
||||
struct Base;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Collection;
|
||||
struct Depsgraph;
|
||||
struct ID;
|
||||
struct Library;
|
||||
struct Main;
|
||||
struct Object;
|
||||
struct Scene;
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Depsgraph;
|
||||
struct ID;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
struct BezTriple;
|
||||
struct BezTriple;
|
||||
struct BMEditMesh;
|
||||
struct BoundBox;
|
||||
struct BPoint;
|
||||
struct Curve;
|
||||
struct Depsgraph;
|
||||
|
||||
@@ -17,7 +17,6 @@ extern "C" {
|
||||
struct Depsgraph;
|
||||
struct Object;
|
||||
struct ReportList;
|
||||
struct Scene;
|
||||
struct SpaceTransform;
|
||||
|
||||
/* Warning, those def are stored in files (TransferData modifier), *DO NOT* modify those values. */
|
||||
|
||||
@@ -21,7 +21,6 @@ struct AnimData;
|
||||
struct AnimationEvalContext;
|
||||
struct BezTriple;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct LibraryForeachIDData;
|
||||
struct PathResolvedRNA;
|
||||
|
||||
@@ -16,7 +16,6 @@ extern "C" {
|
||||
|
||||
struct ARegionType;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Depsgraph;
|
||||
struct GpencilModifierData;
|
||||
|
||||
@@ -74,8 +74,6 @@ struct Icon_Geom {
|
||||
|
||||
typedef struct Icon Icon;
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct ImBuf;
|
||||
struct PreviewImage;
|
||||
|
||||
@@ -16,13 +16,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct IDProperty;
|
||||
struct IDPropertyUIData;
|
||||
struct IDPropertyUIDataEnumItem;
|
||||
struct Library;
|
||||
|
||||
typedef union IDPropertyTemplate {
|
||||
int i;
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "BLI_sys_types.h"
|
||||
|
||||
struct BMEditMesh;
|
||||
struct BoundBox;
|
||||
struct BPoint;
|
||||
struct Depsgraph;
|
||||
struct Lattice;
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
#include "BKE_mesh_mapping.hh"
|
||||
|
||||
struct CustomData;
|
||||
struct CustomData_MeshMasks;
|
||||
struct MemArena;
|
||||
struct Mesh;
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ struct Speaker;
|
||||
struct bAction;
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct PointerRNA;
|
||||
struct PropertyRNA;
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#define MAX_SOCKET 512
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct FreestyleLineStyle;
|
||||
struct GPUMaterial;
|
||||
|
||||
@@ -30,7 +30,6 @@ struct FieldInferencingInterface;
|
||||
class NodeDeclaration;
|
||||
struct GeometryNodesLazyFunctionGraphInfo;
|
||||
namespace anonymous_attribute_lifetime {
|
||||
struct RelationsInNode;
|
||||
}
|
||||
namespace aal = anonymous_attribute_lifetime;
|
||||
} // namespace blender::nodes
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
#include "DNA_customdata_types.h" /* #CustomData_MeshMasks. */
|
||||
|
||||
struct BoundBox;
|
||||
struct bGPdata;
|
||||
struct Curve;
|
||||
struct CurveCache;
|
||||
|
||||
@@ -26,7 +26,6 @@ struct BMFace;
|
||||
struct BMLog;
|
||||
struct BMesh;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Brush;
|
||||
struct CustomDataLayer;
|
||||
@@ -53,7 +52,6 @@ struct Image;
|
||||
struct ImagePool;
|
||||
struct ImageUser;
|
||||
struct KeyBlock;
|
||||
struct ListBase;
|
||||
struct Main;
|
||||
struct Mesh;
|
||||
struct MDeformVert;
|
||||
|
||||
@@ -16,7 +16,6 @@ extern "C" {
|
||||
|
||||
struct ARegionType;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct ListBase;
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
|
||||
struct BVHTree;
|
||||
struct GreasePencilShrinkwrapModifierData;
|
||||
struct MDeformVert;
|
||||
struct Mesh;
|
||||
struct ModifierEvalContext;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "BKE_DerivedMesh.hh"
|
||||
|
||||
struct CCGElem;
|
||||
struct CCGFace;
|
||||
struct CCGKey;
|
||||
struct Mesh;
|
||||
struct Subdiv;
|
||||
|
||||
@@ -26,9 +26,7 @@
|
||||
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct LibraryForeachIDData;
|
||||
struct Library;
|
||||
|
||||
namespace blender::bke::id {
|
||||
class IDRemapper;
|
||||
|
||||
@@ -82,9 +82,6 @@ CCGAllocatorIFC *ccg_getStandardAllocatorIFC(void);
|
||||
* Catmull-Clark Gridding Subdivision Surface.
|
||||
*/
|
||||
|
||||
/* TODO(sergey): Get rid of this, it's more or less a bad level call. */
|
||||
struct DerivedMesh;
|
||||
|
||||
/* ** Data structures, constants. enums ** */
|
||||
|
||||
enum {
|
||||
@@ -256,8 +253,6 @@ void ccgSubSurf__effectedFaceNeighbors(CCGSubSurf *ss,
|
||||
|
||||
void ccgSubSurf__sync_legacy(CCGSubSurf *ss);
|
||||
|
||||
struct OpenSubdiv_Converter;
|
||||
|
||||
/* `CCGSubSurf_util.cc` */
|
||||
|
||||
#ifdef DUMP_RESULT_GRIDS
|
||||
|
||||
Reference in New Issue
Block a user