Cleanup: sort forward declarations of enum & struct

Done using:
  source/tools/utils_maintenance/c_sort_blocks.py
This commit is contained in:
2019-01-28 21:08:24 +11:00
parent d473d5be5f
commit c0f88ed8a8
253 changed files with 978 additions and 978 deletions

View File

@@ -61,8 +61,8 @@ char U[1024] = {0};
/***/
typedef struct _MultiTestApp MultiTestApp;
typedef struct _LoggerWindow LoggerWindow;
typedef struct _MultiTestApp MultiTestApp;
void loggerwindow_log(LoggerWindow *lw, char *line);

View File

@@ -27,12 +27,12 @@
extern "C" {
#endif
struct bContext;
struct CacheReader;
struct ListBase;
struct Mesh;
struct Object;
struct Scene;
struct bContext;
typedef struct AbcArchiveHandle AbcArchiveHandle;

View File

@@ -34,12 +34,12 @@ class AbcObjectWriter;
class AbcTransformWriter;
class ArchiveWriter;
struct Base;
struct Depsgraph;
struct Main;
struct Object;
struct Scene;
struct ViewLayer;
struct Base;
struct ExportSettings {
ExportSettings();

View File

@@ -46,9 +46,9 @@ using Alembic::Abc::chrono_t;
class AbcObjectReader;
struct ImportSettings;
struct Base;
struct ID;
struct Object;
struct Base;
std::string get_id_name(const ID * const id);
std::string get_id_name(const Object * const ob);

View File

@@ -38,9 +38,9 @@
/* enable this only if needed (unused circa 2016) */
#define BLF_BLUR_ENABLE 0
struct rctf;
struct ColorManagedDisplay;
struct ResultBLF;
struct rctf;
int BLF_init(void);
void BLF_exit(void);

View File

@@ -31,10 +31,10 @@
#ifndef __BLF_INTERNAL_H__
#define __BLF_INTERNAL_H__
struct ResultBLF;
struct FontBLF;
struct GlyphBLF;
struct GlyphCacheBLF;
struct ResultBLF;
struct rctf;
void blf_batch_draw_vao_clear(void);

View File

@@ -80,19 +80,19 @@
#include "BKE_customdata.h"
#include "BKE_bvhutils.h"
struct BMEditMesh;
struct CCGElem;
struct CCGKey;
struct MVert;
struct Depsgraph;
struct MEdge;
struct MFace;
struct Object;
struct Scene;
struct Mesh;
struct MLoopNorSpaceArray;
struct BMEditMesh;
struct MVert;
struct Mesh;
struct ModifierData;
struct Depsgraph;
struct Object;
struct PBVH;
struct Scene;
/* number of sub-elements each mesh element has (for interpolation) */
// #define SUB_ELEMS_VERT 0 /* UNUSED */

View File

@@ -38,14 +38,14 @@
#include "DNA_listBase.h"
/* The following structures are defined in DNA_action_types.h, and DNA_anim_types.h */
struct bAction;
struct bActionGroup;
struct FCurve;
struct bPose;
struct bItasc;
struct bPoseChannel;
struct Main;
struct Object;
struct bAction;
struct bActionGroup;
struct bItasc;
struct bPose;
struct bPoseChannel;
/* Kernel prototypes */
#ifdef __cplusplus

View File

@@ -32,9 +32,6 @@
* \author nzc
* \since March 2001
*/
struct bAnimVizSettings;
struct bMotionPath;
struct bPoseChannel;
struct Depsgraph;
struct ListBase;
struct Main;
@@ -43,6 +40,9 @@ struct ParticleSystem;
struct Path;
struct ReportList;
struct Scene;
struct bAnimVizSettings;
struct bMotionPath;
struct bPoseChannel;
/* ---------------------------------------------------- */
/* Animation Visualization */

View File

@@ -40,6 +40,7 @@ struct KS_Path;
struct KeyingSet;
struct ListBase;
struct Main;
struct NlaKeyframingContext;
struct PathResolvedRNA;
struct PointerRNA;
struct PropertyRNA;
@@ -48,7 +49,6 @@ struct Scene;
struct bAction;
struct bActionGroup;
struct bContext;
struct NlaKeyframingContext;
/* ************************************* */
/* AnimData API */

View File

@@ -33,18 +33,18 @@
* \author nzc
*/
struct bPose;
struct Bone;
struct Depsgraph;
struct GHash;
struct ListBase;
struct Main;
struct bArmature;
struct bPoseChannel;
struct bConstraint;
struct Scene;
struct Object;
struct PoseTree;
struct ListBase;
struct Scene;
struct bArmature;
struct bConstraint;
struct bPose;
struct bPoseChannel;
typedef struct PoseTarget {
struct PoseTarget *next, *prev;

View File

@@ -28,10 +28,10 @@
extern "C" {
#endif
struct bContext;
struct ReportList;
struct Main;
struct ID;
struct Main;
struct ReportList;
struct bContext;
/* copybuffer (wrapper for BKE_blendfile_write_partial) */
void BKE_copybuffer_begin(struct Main *bmain_src);

View File

@@ -28,10 +28,10 @@
extern "C" {
#endif
struct bContext;
struct Scene;
struct Main;
struct MemFileUndoData;
struct Scene;
struct bContext;
#define BKE_UNDO_STR_MAX 64

View File

@@ -28,13 +28,13 @@
extern "C" {
#endif
struct bContext;
struct BlendFileReadParams;
struct ID;
struct Main;
struct MemFile;
struct ReportList;
struct UserDef;
struct BlendFileReadParams;
struct bContext;
enum {
BKE_BLENDFILE_READ_FAIL = 0, /* no load */

View File

@@ -28,16 +28,16 @@
*/
enum eCurveMappingPreset;
struct bContext;
struct Brush;
struct Paint;
struct ImBuf;
struct ImagePool;
struct Main;
struct Material;
struct Paint;
struct Scene;
struct ToolSettings;
struct UnifiedPaintSettings;
struct Material;
struct bContext;
// enum eCurveMappingPreset;

View File

@@ -38,11 +38,11 @@
* This header encapsulates necessary code to build a BVH
*/
struct DerivedMesh;
struct BMEditMesh;
struct Mesh;
struct MVert;
struct DerivedMesh;
struct MFace;
struct MVert;
struct Mesh;
typedef struct LinkNode BVHCache;

View File

@@ -40,15 +40,15 @@ extern "C" {
struct Camera;
struct Depsgraph;
struct GPUFXSettings;
struct Main;
struct Object;
struct RegionView3D;
struct RenderData;
struct Scene;
struct View3D;
struct ViewLayer;
struct rctf;
struct View3D;
struct GPUFXSettings;
/* Camera Datablock */

View File

@@ -38,10 +38,10 @@
#include "BKE_DerivedMesh.h"
#include "BKE_customdata.h"
struct DerivedMesh;
struct BMEditMesh;
struct Mesh;
struct DerivedMesh;
struct MLoopNorSpaceArray;
struct Mesh;
struct Object;
/* creates a new CDDerivedMesh */

View File

@@ -35,13 +35,13 @@
#include <float.h>
#include "BLI_math_inline.h"
struct Object;
struct Scene;
struct Mesh;
struct MFace;
struct ClothModifierData;
struct CollisionModifierData;
struct Depsgraph;
struct MFace;
struct Mesh;
struct Object;
struct Scene;
#define DO_INLINE MALWAYS_INLINE

View File

@@ -38,8 +38,8 @@ extern "C" {
/* Structs */
struct Base;
struct BLI_Iterator;
struct Base;
struct Collection;
struct Depsgraph;
struct ID;

View File

@@ -43,14 +43,14 @@
#include "BLI_kdopbvh.h"
struct CollisionModifierData;
struct Collection;
struct CollisionModifierData;
struct Depsgraph;
struct MFace;
struct MVert;
struct MVertTri;
struct Object;
struct Scene;
struct Depsgraph;
struct MVertTri;
////////////////////////////////////////
// used for collisions in collision.c

View File

@@ -34,12 +34,12 @@
struct ColorManagedColorspaceSettings;
struct ColorManagedDisplaySettings;
struct ColorManagedViewSettings;
struct CurveMapping;
struct CurveMap;
struct CurveMapPoint;
struct Scopes;
struct CurveMapping;
struct Histogram;
struct ImBuf;
struct Scopes;
struct rctf;
void curvemapping_set_defaults(struct CurveMapping *cumap, int tot, float minx, float miny, float maxx, float maxy);

View File

@@ -33,14 +33,14 @@
* \author Joshua Leung (major recode 2007)
*/
struct Depsgraph;
struct ID;
struct bConstraint;
struct bConstraintTarget;
struct ListBase;
struct Object;
struct Scene;
struct bConstraint;
struct bConstraintTarget;
struct bPoseChannel;
struct Depsgraph;
/* ---------------------------------------------------------------------------- */
#ifdef __cplusplus

View File

@@ -38,41 +38,41 @@ extern "C" {
#endif
struct ARegion;
struct bScreen;
struct Base;
struct Brush;
struct CacheFile;
struct Collection;
struct Depsgraph;
struct EditBone;
struct ID;
struct Image;
struct LayerCollection;
struct ListBase;
struct Main;
struct Object;
struct Base;
struct PointerRNA;
struct RegionView3D;
struct RenderEngineType;
struct ReportList;
struct Scene;
struct ViewLayer;
struct ScrArea;
struct SpaceClip;
struct SpaceImage;
struct SpaceLink;
struct View3D;
struct ViewRender;
struct RegionView3D;
struct SpaceText;
struct StructRNA;
struct ToolSettings;
struct Image;
struct Text;
struct EditBone;
struct bPoseChannel;
struct bGPdata;
struct bGPDlayer;
struct ToolSettings;
struct View3D;
struct ViewLayer;
struct ViewRender;
struct bGPDframe;
struct Brush;
struct bGPDlayer;
struct bGPdata;
struct bPoseChannel;
struct bScreen;
struct wmWindow;
struct wmWindowManager;
struct RenderEngineType;
struct SpaceText;
struct SpaceImage;
struct SpaceClip;
struct ID;
#include "DNA_object_enums.h"

View File

@@ -34,11 +34,11 @@
#ifdef __cplusplus
extern "C" {
#endif
struct Scene;
struct Object;
struct BMEditMesh;
struct Mesh;
struct Depsgraph;
struct Mesh;
struct Object;
struct Scene;
/* crazyspace.c */
float (*BKE_crazyspace_get_mapped_editverts(

View File

@@ -35,15 +35,15 @@
struct BezTriple;
struct Curve;
struct EditNurb;
struct Depsgraph;
struct EditNurb;
struct GHash;
struct ListBase;
struct Main;
struct Nurb;
struct Object;
struct Scene;
struct Path;
struct Scene;
struct TextBox;
struct rctf;

View File

@@ -44,8 +44,8 @@ extern "C" {
#include "DNA_customdata_types.h"
struct BMesh;
struct ID;
struct CustomData;
struct ID;
typedef uint64_t CustomDataMask;
/*a data type large enough to hold 1 element from any customdata layer type*/
@@ -420,8 +420,8 @@ void CustomData_external_reload(struct CustomData *data,
/* Mesh-to-mesh transfer data. */
struct MeshPairRemap;
struct CustomDataTransferLayerMap;
struct MeshPairRemap;
typedef void (*cd_datatransfer_interp)(
const struct CustomDataTransferLayerMap *laymap, void *dest,

View File

@@ -40,9 +40,9 @@ extern "C" {
struct Depsgraph;
struct Object;
struct ReportList;
struct Scene;
struct SpaceTransform;
struct ReportList;
/* Warning, those def are stored in files (TransferData modifier), *DO NOT* modify those values. */
enum {

View File

@@ -35,13 +35,13 @@
* \brief support for deformation groups and hooks.
*/
struct Object;
struct ListBase;
struct bDeformGroup;
struct MDeformVert;
struct MEdge;
struct MLoop;
struct MPoly;
struct Object;
struct bDeformGroup;
struct bDeformGroup *BKE_defgroup_new(struct Object *ob, const char *name);
void defgroup_copy_list(struct ListBase *lb1, const struct ListBase *lb2);

View File

@@ -58,9 +58,9 @@ enum {
/* prototypes */
struct Depsgraph;
struct Mesh;
struct ListBase;
struct Main;
struct Mesh;
struct Object;
struct Scene;

View File

@@ -34,14 +34,14 @@
#include "BKE_customdata.h"
#include "bmesh.h"
struct BMesh;
struct BMLoop;
struct Mesh;
struct Scene;
struct DerivedMesh;
struct MeshStatVis;
struct BMesh;
struct Depsgraph;
struct DerivedMesh;
struct EditMeshData;
struct Mesh;
struct MeshStatVis;
struct Scene;
/**
* This structure is used for mesh edit-mode.

View File

@@ -32,12 +32,12 @@
#ifndef __BKE_EDITMESH_BVH_H__
#define __BKE_EDITMESH_BVH_H__
struct BMEditMesh;
struct BMesh;
struct BMFace;
struct BMVert;
struct BMLoop;
struct BMBVHTree;
struct BMEditMesh;
struct BMFace;
struct BMLoop;
struct BMVert;
struct BMesh;
struct BVHTree;
typedef struct BMBVHTree BMBVHTree;

View File

@@ -37,14 +37,14 @@
#include "BLI_utildefines.h"
struct Object;
struct Scene;
struct ListBase;
struct Collection;
struct ParticleSimulationData;
struct Depsgraph;
struct ListBase;
struct Object;
struct ParticleData;
struct ParticleKey;
struct Depsgraph;
struct ParticleSimulationData;
struct Scene;
struct ViewLayer;
struct EffectorWeights *BKE_effector_add_weights(struct Collection *collection);

View File

@@ -36,21 +36,21 @@
extern "C" {
#endif
struct ChannelDriver;
struct DriverTarget;
struct DriverVar;
struct FCM_EnvelopeData;
struct FCurve;
struct FModifier;
struct ChannelDriver;
struct DriverVar;
struct DriverTarget;
struct FCM_EnvelopeData;
struct bContext;
struct AnimData;
struct bAction;
struct BezTriple;
struct StructRNA;
struct PathResolvedRNA;
struct PointerRNA;
struct PropertyRNA;
struct StructRNA;
struct bAction;
struct bContext;
#include "DNA_curve_types.h"

View File

@@ -32,11 +32,11 @@
* \ingroup bke
*/
struct Object;
struct Scene;
struct Depsgraph;
struct FluidsimSettings;
struct MVert;
struct Depsgraph;
struct Object;
struct Scene;
/* old interface */

View File

@@ -37,11 +37,11 @@ extern "C" {
#include <wchar.h>
struct VFont;
struct Object;
struct Curve;
struct CharInfo;
struct Curve;
struct Main;
struct Object;
struct VFont;
struct CharTrans {
float xof, yof;

View File

@@ -44,8 +44,8 @@ struct FreestyleModuleConfig;
struct Main;
/* RNA aliases */
typedef struct FreestyleSettings FreestyleSettings;
typedef struct FreestyleModuleSettings FreestyleModuleSettings;
typedef struct FreestyleSettings FreestyleSettings;
/* FreestyleConfig */
void BKE_freestyle_config_init(FreestyleConfig *config);

View File

@@ -31,27 +31,27 @@
* \author Joshua Leung
*/
struct ArrayGpencilModifierData;
struct BoundBox;
struct Brush;
struct CurveMapping;
struct Depsgraph;
struct GpencilModifierData;
struct ToolSettings;
struct LatticeGpencilModifierData;
struct ListBase;
struct bGPdata;
struct bGPDlayer;
struct bGPDframe;
struct bGPDspoint;
struct bGPDstroke;
struct Main;
struct Material;
struct Object;
struct SimplifyGpencilModifierData;
struct ToolSettings;
struct bDeformGroup;
struct bGPDframe;
struct bGPDlayer;
struct bGPDpalette;
struct bGPDpalettecolor;
struct Main;
struct BoundBox;
struct Brush;
struct Object;
struct bDeformGroup;
struct SimplifyGpencilModifierData;
struct ArrayGpencilModifierData;
struct LatticeGpencilModifierData;
struct bGPDspoint;
struct bGPDstroke;
struct bGPdata;
struct MDeformVert;
struct MDeformWeight;

View File

@@ -30,24 +30,24 @@
#include "BLI_compiler_attrs.h"
#include "BKE_customdata.h"
struct ID;
struct BMEditMesh;
struct DepsNodeHandle;
struct Depsgraph;
struct DerivedMesh;
struct bContext; /* NOTE: bakeModifier() - called from UI - needs to create new datablocks, hence the need for this */
struct GpencilModifierData;
struct ID;
struct ListBase;
struct Main;
struct Mesh;
struct ModifierUpdateDepsgraphContext;
struct Object;
struct Scene;
struct ViewLayer;
struct ListBase;
struct bArmature;
struct Main;
struct GpencilModifierData;
struct BMEditMesh;
struct DepsNodeHandle;
struct bGPDlayer;
struct bContext; /* NOTE: bakeModifier() - called from UI - needs to create new datablocks, hence the need for this */
struct bGPDframe;
struct bGPDlayer;
struct bGPDstroke;
struct ModifierUpdateDepsgraphContext;
#define GPENCIL_MODIFIER_ACTIVE(_md, _is_render) \
((((_md)->mode & eGpencilModifierMode_Realtime) && (_is_render == false)) || \

View File

@@ -78,9 +78,9 @@ struct Icon_Geom {
typedef struct Icon Icon;
struct ID;
struct ImBuf;
struct PreviewImage;
struct ID;
struct StudioLight;
struct bGPDlayer;

View File

@@ -36,8 +36,8 @@
extern "C" {
#endif
struct IDProperty;
struct ID;
struct IDProperty;
typedef union IDPropertyTemplate {
int i;

View File

@@ -37,18 +37,18 @@
extern "C" {
#endif
struct Image;
struct ImBuf;
struct ImbFormatOptions;
struct anim;
struct Scene;
struct Object;
struct Image;
struct ImageFormatData;
struct ImagePool;
struct ImbFormatOptions;
struct Main;
struct ReportList;
struct Object;
struct RenderResult;
struct ReportList;
struct Scene;
struct StampData;
struct anim;
#define IMA_MAX_SPACE 64

View File

@@ -38,8 +38,8 @@
extern "C" {
#endif
struct Main;
struct Ipo;
struct Main;
void do_versions_ipos_to_animato(struct Main *main);

View File

@@ -32,15 +32,15 @@
* \since March 2001
* \author nzc
*/
struct Curve;
struct ID;
struct Key;
struct KeyBlock;
struct ID;
struct ListBase;
struct Curve;
struct Object;
struct Lattice;
struct ListBase;
struct Main;
struct Mesh;
struct Object;
struct WeightsArrayCache;
/* Kernel prototypes */

View File

@@ -36,14 +36,14 @@
#include "BLI_compiler_attrs.h"
struct BPoint;
struct Depsgraph;
struct Lattice;
struct MDeformVert;
struct Main;
struct Mesh;
struct Object;
struct Scene;
struct BPoint;
struct MDeformVert;
struct Depsgraph;
struct bGPDstroke;
void BKE_lattice_resize(struct Lattice *lt, int u, int v, int w, struct Object *ltOb);

View File

@@ -58,15 +58,15 @@ extern "C" {
struct BlendThumbnail;
struct GHash;
struct ListBase;
struct ID;
struct ImBuf;
struct Main;
struct Library;
struct wmWindowManager;
struct bContext;
struct ListBase;
struct Main;
struct PointerRNA;
struct PropertyRNA;
struct bContext;
struct wmWindowManager;
size_t BKE_libblock_get_alloc_info(short type, const char **name);
void *BKE_libblock_alloc_notest(short type) ATTR_WARN_UNUSED_RESULT;

View File

@@ -27,8 +27,8 @@
#include "BLI_compiler_attrs.h"
struct ID;
struct Main;
struct IDNameLib_Map;
struct Main;
struct IDNameLib_Map *BKE_main_idmap_create(
struct Main *bmain)

View File

@@ -33,8 +33,8 @@
* \brief General operations for probes.
*/
struct Main;
struct LightProbe;
struct Main;
void BKE_lightprobe_init(struct LightProbe *probe);
void *BKE_lightprobe_add(struct Main *bmain, const char *name);

View File

@@ -44,11 +44,11 @@ extern "C" {
#define LS_MODIFIER_TYPE_THICKNESS 3
#define LS_MODIFIER_TYPE_GEOMETRY 4
struct ColorBand;
struct Main;
struct Object;
struct ColorBand;
struct bContext;
struct ViewLayer;
struct bContext;
void BKE_linestyle_init(struct FreestyleLineStyle *linestyle);
FreestyleLineStyle *BKE_linestyle_new(struct Main *bmain, const char *name);

View File

@@ -49,8 +49,8 @@
extern "C" {
#endif
struct BlendThumbnail;
struct BLI_mempool;
struct BlendThumbnail;
struct Depsgraph;
struct GHash;
struct ImBuf;

View File

@@ -33,14 +33,14 @@
*/
struct Depsgraph;
struct ImageUser;
struct Image;
struct ImageUser;
struct ListBase;
struct Main;
struct Mask;
struct MaskParent;
struct MaskLayer;
struct MaskLayerShape;
struct MaskParent;
struct MaskSpline;
struct MaskSplinePoint;
struct MaskSplinePointUW;

View File

@@ -36,9 +36,9 @@
extern "C" {
#endif
struct ID;
struct Main;
struct Material;
struct ID;
struct Object;
struct Scene;

View File

@@ -36,9 +36,9 @@ struct BoundBox;
struct Depsgraph;
struct Main;
struct MetaBall;
struct MetaElem;
struct Object;
struct Scene;
struct MetaElem;
void BKE_mball_free(struct MetaBall *mb);
void BKE_mball_init(struct MetaBall *mb);

View File

@@ -37,37 +37,37 @@
/* defines CustomDataMask */
#include "BKE_customdata.h"
struct ID;
struct BLI_Stack;
struct BMEditMesh;
struct BMesh;
struct BMeshCreateParams;
struct BMeshFromMeshParams;
struct BMeshToMeshParams;
struct BoundBox;
struct CustomData;
struct Depsgraph;
struct EdgeHash;
struct ListBase;
struct LinkNode;
struct BLI_Stack;
struct MemArena;
struct BMesh;
struct ID;
struct KeyBlock;
struct MLoopTri;
struct Main;
struct Mesh;
struct ModifierData;
struct MPoly;
struct MLoop;
struct MFace;
struct MEdge;
struct MVert;
struct MVertTri;
struct LinkNode;
struct ListBase;
struct MDeformVert;
struct MDisps;
struct Object;
struct CustomData;
struct Scene;
struct MEdge;
struct MFace;
struct MLoop;
struct MLoopTri;
struct MLoopUV;
struct MPoly;
struct MVert;
struct MVertTri;
struct Main;
struct MemArena;
struct Mesh;
struct ModifierData;
struct Object;
struct ReportList;
struct BMEditMesh;
struct Scene;
#ifdef __cplusplus
extern "C" {

View File

@@ -28,13 +28,13 @@
* \ingroup bke
*/
struct Mesh;
struct MVert;
struct MEdge;
struct MPoly;
struct MLoop;
struct MLoopUV;
struct MLoopTri;
struct MLoopUV;
struct MPoly;
struct MVert;
struct Mesh;
typedef enum MeshForeachFlag {
MESH_FOREACH_NOP = 0,

View File

@@ -31,12 +31,12 @@
* \ingroup bke
*/
struct MVert;
struct MEdge;
struct MPoly;
struct MLoop;
struct MLoopUV;
struct MLoopTri;
struct MLoopUV;
struct MPoly;
struct MVert;
/* map from uv vertex to face (for select linked, stitch, uv suburf) */

View File

@@ -26,9 +26,9 @@
*/
struct CustomData;
struct Mesh;
struct MVert;
struct MemArena;
struct Mesh;
/* Generic ways to map some geometry elements from a source mesh to a dest one. */

View File

@@ -39,10 +39,10 @@ struct ColorBand;
struct CustomData;
struct Depsgraph;
struct KeyBlock;
struct Mesh;
struct MLoop;
struct MLoopTri;
struct MVertTri;
struct Mesh;
struct Object;
struct Scene;

View File

@@ -32,19 +32,19 @@
#include "BLI_compiler_attrs.h"
#include "BKE_customdata.h"
struct ID;
struct BMEditMesh;
struct DepsNodeHandle;
struct Depsgraph;
struct DerivedMesh;
struct ID;
struct ListBase;
struct Main;
struct Mesh;
struct ModifierData;
struct Object;
struct Scene;
struct ViewLayer;
struct ListBase;
struct bArmature;
struct Main;
struct ModifierData;
struct BMEditMesh;
struct DepsNodeHandle;
typedef enum {
/* Should not be used, only for None modifier type */

View File

@@ -48,9 +48,9 @@ struct Scene;
struct SubdivCCG;
struct MLoop;
struct MVert;
struct MPoly;
struct MLoopTri;
struct MPoly;
struct MVert;
/* Delete mesh mdisps and grid paint masks */
void multires_customdata_delete(struct Mesh *me);

View File

@@ -37,9 +37,9 @@ struct AnimData;
struct Main;
struct NlaStrip;
struct NlaTrack;
struct bAction;
struct Scene;
struct Speaker;
struct bAction;
struct PointerRNA;
struct PropertyRNA;

View File

@@ -51,35 +51,35 @@
/* not very important, but the stack solver likes to know a maximum */
#define MAX_SOCKET 512
struct bContext;
struct bNode;
struct bNodeLink;
struct bNodeSocket;
struct bNodeStack;
struct bNodeTree;
struct bNodeTreeType;
struct bNodeTreeExec;
struct bNodeExecContext;
struct bNodeExecData;
struct ARegion;
struct ColorManagedDisplaySettings;
struct ColorManagedViewSettings;
struct GPUMaterial;
struct GPUNodeStack;
struct ID;
struct ImBuf;
struct ImageFormatData;
struct ListBase;
struct Main;
struct uiLayout;
struct MTex;
struct Main;
struct PointerRNA;
struct RenderData;
struct Scene;
struct SpaceNode;
struct Tex;
struct ViewRender;
struct SpaceNode;
struct ARegion;
struct ColorManagedViewSettings;
struct ColorManagedDisplaySettings;
struct bContext;
struct bNode;
struct bNodeExecContext;
struct bNodeExecData;
struct bNodeInstanceHash;
struct bNodeLink;
struct bNodeSocket;
struct bNodeStack;
struct bNodeTree;
struct bNodeTreeExec;
struct bNodeTreeType;
struct uiLayout;
/* -------------------------------------------------------------------- */
/** \name Node Type Definitions

View File

@@ -36,24 +36,24 @@ extern "C" {
#include "BLI_compiler_attrs.h"
struct Base;
struct BoundBox;
struct Depsgraph;
struct GpencilModifierData;
struct Scene;
struct ShaderFxData;
struct ViewLayer;
struct HookGpencilModifierData;
struct HookModifierData;
struct ID;
struct Object;
struct BoundBox;
struct View3D;
struct SoftBody;
struct MovieClip;
struct Main;
struct Mesh;
struct RigidBodyWorld;
struct HookModifierData;
struct ModifierData;
struct HookGpencilModifierData;
struct MovieClip;
struct Object;
struct RegionView3D;
struct RigidBodyWorld;
struct Scene;
struct ShaderFxData;
struct SoftBody;
struct View3D;
struct ViewLayer;
#include "DNA_object_enums.h"

View File

@@ -33,9 +33,9 @@
extern "C" {
#endif
struct Object;
struct ID;
struct MDeformVert;
struct Object;
struct bDeformGroup;
/* General vgroup operations */

View File

@@ -32,9 +32,9 @@
extern "C" {
#endif
struct bFaceMap;
struct ListBase;
struct Object;
struct bFaceMap;
struct bFaceMap *BKE_object_facemap_add(struct Object *ob);
struct bFaceMap *BKE_object_facemap_add_name(struct Object *ob, const char *name);

View File

@@ -26,8 +26,8 @@
* \ingroup bke
*/
struct ID;
struct BLI_mempool;
struct ID;
struct TreeStoreElem;
/* create and fill hashtable with treestore elements */

View File

@@ -36,12 +36,12 @@
#define RET_ERROR 1
struct ID;
struct bSound;
struct Image;
struct Main;
struct PackedFile;
struct ReportList;
struct VFont;
struct bSound;
/* pack */
struct PackedFile *dupPackedFile(const struct PackedFile *pf_src);

View File

@@ -32,38 +32,38 @@
* \ingroup bke
*/
struct bContext;
struct bToolRef;
struct BMesh;
struct BMFace;
struct BMesh;
struct Brush;
struct CurveMapping;
struct Depsgraph;
struct EnumPropertyItem;
struct MeshElemMap;
struct GridPaintMask;
struct Main;
struct Mesh;
struct ImagePool;
struct MFace;
struct MLoop;
struct MLoopTri;
struct MFace;
struct MVert;
struct Main;
struct Mesh;
struct MeshElemMap;
struct Object;
struct PBVH;
struct Paint;
struct PaintCurve;
struct Palette;
struct PaletteColor;
struct PBVH;
struct ReportList;
struct Scene;
struct ViewLayer;
struct Sculpt;
struct StrokeCache;
struct SubdivCCG;
struct Tex;
struct ImagePool;
struct UnifiedPaintSettings;
struct Depsgraph;
struct ToolSettings;
struct UnifiedPaintSettings;
struct ViewLayer;
struct bContext;
struct bToolRef;
enum eOverlayFlags;

View File

@@ -41,28 +41,28 @@
#include "BKE_customdata.h"
struct ParticleSystemModifierData;
struct ParticleSystem;
struct ParticleKey;
struct ParticleSettings;
struct ParticleSystem;
struct ParticleSystemModifierData;
struct Main;
struct Object;
struct Scene;
struct Depsgraph;
struct ModifierData;
struct MTFace;
struct MCol;
struct MFace;
struct MVert;
struct LatticeDeformData;
struct LinkNode;
struct KDTree;
struct RNG;
struct BVHTreeRay;
struct BVHTreeRayHit;
struct EdgeHash;
struct Depsgraph;
struct Depsgraph;
struct EdgeHash;
struct KDTree;
struct LatticeDeformData;
struct LinkNode;
struct MCol;
struct MFace;
struct MTFace;
struct MVert;
struct Main;
struct ModifierData;
struct Object;
struct RNG;
struct Scene;
struct ViewLayer;
#define PARTICLE_COLLISION_MAX_COLLISIONS 10

View File

@@ -30,20 +30,20 @@
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
struct GPUBatch;
struct BMLog;
struct BMesh;
struct CCGDerivedMesh;
struct CCGElem;
struct CCGKey;
struct CCGDerivedMesh;
struct CustomData;
struct DMFlagMat;
struct MPoly;
struct GPUBatch;
struct MLoop;
struct MLoopTri;
struct MPoly;
struct MVert;
struct PBVH;
struct PBVHNode;
struct BMesh;
struct BMLog;
typedef struct PBVH PBVH;
typedef struct PBVHNode PBVHNode;

View File

@@ -89,11 +89,11 @@ struct Object;
struct ParticleKey;
struct ParticleSystem;
struct PointCache;
struct RigidBodyWorld;
struct Scene;
struct ViewLayer;
struct SmokeModifierData;
struct SoftBody;
struct RigidBodyWorld;
struct ViewLayer;
struct OpenVDBReader;
struct OpenVDBWriter;

View File

@@ -34,8 +34,8 @@
#ifndef __BKE_RIGIDBODY_H__
#define __BKE_RIGIDBODY_H__
struct RigidBodyWorld;
struct RigidBodyOb;
struct RigidBodyWorld;
struct Collection;
struct Depsgraph;

View File

@@ -44,11 +44,11 @@ struct Main;
struct Object;
struct RenderData;
struct Scene;
struct ViewLayer;
struct TransformOrientation;
struct UnitSettings;
struct ViewLayer;
struct ViewRender;
struct WorkSpace;
struct TransformOrientation;
typedef enum eSceneCopyMethod {
SCE_COPY_NEW = 0,

View File

@@ -34,6 +34,7 @@
*/
struct ARegion;
struct GPUFXSettings;
struct Header;
struct ID;
struct ListBase;
@@ -41,25 +42,24 @@ struct Menu;
struct Panel;
struct Scene;
struct ScrArea;
struct ScrAreaMap;
struct ScrVert;
struct SpaceType;
struct TransformOrientation;
struct View3D;
struct View3DShading;
struct WorkSpace;
struct bContext;
struct bContextDataResult;
struct bScreen;
struct uiLayout;
struct uiList;
struct wmKeyConfig;
struct wmGizmoMap;
struct wmKeyConfig;
struct wmMsgBus;
struct wmNotifier;
struct wmWindow;
struct wmWindowManager;
struct WorkSpace;
struct GPUFXSettings;
struct wmMsgBus;
struct ScrAreaMap;
#include "BLI_compiler_attrs.h"

View File

@@ -30,13 +30,11 @@
* \ingroup bke
*/
struct bContext;
struct Depsgraph;
struct StripColorBalance;
struct Editing;
struct GSet;
struct GPUOffScreen;
struct GPUFX;
struct GPUOffScreen;
struct GSet;
struct ImBuf;
struct Main;
struct Mask;
@@ -45,8 +43,10 @@ struct Scene;
struct Sequence;
struct SequenceModifierData;
struct Stereo3dFormat;
struct StripColorBalance;
struct StripElem;
struct TextVars;
struct bContext;
struct bSound;
struct SeqIndexBuildContext;

View File

@@ -30,22 +30,22 @@
#include "BLI_compiler_attrs.h"
#include "BKE_customdata.h"
struct ID;
struct DepsNodeHandle;
struct Depsgraph;
struct DerivedMesh;
struct ID;
struct ListBase;
struct Main;
struct Mesh;
struct ModifierUpdateDepsgraphContext;
struct Object;
struct Scene;
struct ViewLayer;
struct ListBase;
struct bArmature;
struct Main;
struct ShaderFxData;
struct DepsNodeHandle;
struct bGPDlayer;
struct ViewLayer;
struct bArmature;
struct bGPDframe;
struct bGPDlayer;
struct bGPDstroke;
struct ModifierUpdateDepsgraphContext;
#define SHADER_FX_ACTIVE(_fx, _is_render) (((_fx->mode & eShaderFxMode_Realtime) && (_is_render == false)) || \
((_fx->mode & eShaderFxMode_Render) && (_is_render == true)))

View File

@@ -47,13 +47,13 @@
* (So that you don't have to pass an enormous amount of arguments to functions)
*/
struct Object;
struct Mesh;
struct MVert;
struct MDeformVert;
struct ModifierEvalContext;
struct ShrinkwrapModifierData;
struct BVHTree;
struct MDeformVert;
struct MVert;
struct Mesh;
struct ModifierEvalContext;
struct Object;
struct ShrinkwrapModifierData;
struct SpaceTransform;
/* Information about boundary edges in the mesh. */

View File

@@ -39,9 +39,9 @@
# include <AUD_Device.h>
#endif
struct bSound;
struct Main;
struct Sequence;
struct bSound;
typedef struct SoundWaveform {
int length;

View File

@@ -37,21 +37,21 @@
/* Thread sync primitives used directly. */
#include "BLI_threads.h"
struct CCGEdge;
struct CCGElem;
struct CCGFace;
struct CCGVert;
struct DMFlagMat;
struct DMGridAdjacency;
struct DerivedMesh;
struct MeshElemMap;
struct Mesh;
struct EdgeHash;
struct MPoly;
struct Mesh;
struct MeshElemMap;
struct Object;
struct PBVH;
struct SubsurfModifierData;
struct CCGEdge;
struct CCGFace;
struct CCGVert;
struct EdgeHash;
struct PBVH;
struct SubsurfModifierData;
/**************************** External *****************************/

View File

@@ -37,15 +37,14 @@
extern "C" {
#endif
struct bNode;
struct Brush;
struct ColorBand;
struct FreestyleLineStyle;
struct ImagePool;
struct Lamp;
struct MTex;
struct Main;
struct Material;
struct MTex;
struct OceanTex;
struct ParticleSettings;
struct PointDensity;
@@ -53,6 +52,7 @@ struct Tex;
struct TexMapping;
struct TexResult;
struct World;
struct bNode;
/* in ColorBand struct */
#define MAXCOLORBAND 32

View File

@@ -32,22 +32,22 @@
* \author Sergey Sharybin
*/
struct Camera;
struct Depsgraph;
struct bGPDlayer;
struct ImBuf;
struct ListBase;
struct MovieReconstructContext;
struct MovieTrackingTrack;
struct MovieTrackingMarker;
struct MovieTrackingPlaneTrack;
struct MovieTrackingPlaneMarker;
struct MovieTracking;
struct MovieTrackingObject;
struct MovieClipUser;
struct MovieDistortion;
struct Camera;
struct MovieReconstructContext;
struct MovieTracking;
struct MovieTrackingMarker;
struct MovieTrackingObject;
struct MovieTrackingPlaneMarker;
struct MovieTrackingPlaneTrack;
struct MovieTrackingTrack;
struct Object;
struct Scene;
struct bGPDlayer;
struct rcti;
/* **** Common functions **** */

View File

@@ -27,12 +27,12 @@
#include "BLI_compiler_attrs.h"
struct bScreen;
struct bToolRef;
struct Main;
struct Scene;
struct TransformOrientation;
struct ViewLayer;
struct bScreen;
struct bToolRef;
/* -------------------------------------------------------------------- */
/* Create, delete, init */

View File

@@ -30,10 +30,10 @@ typedef void* CCGVertHDL;
typedef void* CCGEdgeHDL;
typedef void* CCGFaceHDL;
typedef struct CCGSubSurf CCGSubSurf;
typedef struct CCGVert CCGVert;
typedef struct CCGEdge CCGEdge;
typedef struct CCGFace CCGFace;
typedef struct CCGSubSurf CCGSubSurf;
typedef struct CCGVert CCGVert;
typedef struct CCGMeshIFC {
int vertUserSize, edgeUserSize, faceUserSize;
@@ -174,9 +174,9 @@ int ccgSubSurf_getNumFinalFaces (const CCGSubSurf *ss);
/***/
typedef struct _EHashIterator CCGVertIterator;
typedef struct _EHashIterator CCGEdgeIterator;
typedef struct _EHashIterator CCGFaceIterator;
typedef struct _EHashIterator CCGVertIterator;
void ccgSubSurf_initVertIterator(CCGSubSurf *ss, CCGVertIterator *viter);
void ccgSubSurf_initEdgeIterator(CCGSubSurf *ss, CCGEdgeIterator *eiter);

View File

@@ -33,8 +33,8 @@
#include "BKE_customdata.h" /* For cd_datatransfer_interp */
struct CustomDataTransferLayerMap;
struct CustomData;
struct CustomDataTransferLayerMap;
struct ListBase;
float data_transfer_interp_float_do(

View File

@@ -26,8 +26,8 @@
* \brief Efficient in-memory storage of multiple similar arrays.
*/
typedef struct BArrayStore BArrayStore;
typedef struct BArrayState BArrayState;
typedef struct BArrayStore BArrayStore;
BArrayStore *BLI_array_store_create(
unsigned int stride, unsigned int chunk_count);

View File

@@ -25,8 +25,8 @@
#ifndef __BLI_CALLBACKS_H__
#define __BLI_CALLBACKS_H__
struct Main;
struct ID;
struct Main;
/**
* Common suffix uses:

View File

@@ -34,8 +34,8 @@
#include "BLI_compiler_attrs.h"
struct MemArena;
struct BLI_mempool;
struct MemArena;
typedef void (*LinkNodeFreeFP)(void *link);
typedef void (*LinkNodeApplyFP)(void *link, void *userdata);

View File

@@ -24,8 +24,8 @@
* \ingroup bli
*/
struct ProjCameraInfo;
struct Object;
struct ProjCameraInfo;
/* create uv info from the camera, needs to be freed */
struct ProjCameraInfo *BLI_uvproject_camera_info(struct Object *ob, float rotmat[4][4], float winx, float winy);

View File

@@ -157,8 +157,8 @@ void BLI_timer_free()
remove_tagged_functions();
}
struct Main;
struct ID;
struct Main;
static void remove_non_persistent_functions(struct Main *UNUSED(_1), struct ID *UNUSED(_2), void *UNUSED(_3))
{
LISTBASE_FOREACH(TimedFunction *, timed_func, &GlobalTimer.funcs) {

View File

@@ -36,20 +36,20 @@
extern "C" {
#endif
struct BHead;
struct BlendThumbnail;
struct bScreen;
struct FileData;
struct LinkNode;
struct ListBase;
struct Main;
struct MemFile;
struct ReportList;
struct Scene;
struct ViewLayer;
struct UserDef;
struct View3D;
struct ViewLayer;
struct bContext;
struct BHead;
struct FileData;
struct bScreen;
struct wmWindowManager;
typedef struct BlendHandle BlendHandle;

View File

@@ -34,8 +34,8 @@
*/
struct BlendThumbnail;
struct MemFile;
struct Main;
struct MemFile;
struct ReportList;
extern bool BLO_write_file(

View File

@@ -38,13 +38,13 @@
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h" /* for ReportType */
struct OldNewMap;
struct MemFile;
struct ReportList;
struct Object;
struct PartEff;
struct View3D;
struct Key;
struct MemFile;
struct Object;
struct OldNewMap;
struct PartEff;
struct ReportList;
struct View3D;
typedef struct FileData {
// linked list of BHeadN's

View File

@@ -32,11 +32,11 @@
/* dissable holes for now, these are ifdef'd because they use more memory and cant be saved in DNA currently */
// #define USE_BMESH_HOLES
struct BMesh;
struct BMVert;
struct BMEdge;
struct BMLoop;
struct BMFace;
struct BMLoop;
struct BMVert;
struct BMesh;
struct MLoopNorSpaceArray;

View File

@@ -28,9 +28,9 @@
* \ingroup bmesh
*/
struct ListBase;
struct BMEdgeLoopStore;
struct GSet;
struct ListBase;
/* multiple edgeloops (ListBase) */
int BM_mesh_edgeloops_find(

View File

@@ -28,8 +28,8 @@
*/
struct BMAllocTemplate;
struct MLoopNorSpaceArray;
struct BMLoopNorEditDataArray;
struct MLoopNorSpaceArray;
void BM_mesh_elem_toolflags_ensure(BMesh *bm);
void BM_mesh_elem_toolflags_clear(BMesh *bm);

View File

@@ -27,8 +27,8 @@
* \ingroup bmesh
*/
struct BMesh;
struct BMOperator;
struct BMesh;
void bmo_automerge_exec(BMesh *bm, BMOperator *op);
void bmo_average_vert_facedata_exec(BMesh *bm, BMOperator *op);

View File

@@ -40,10 +40,10 @@ extern "C" {
#include "BLI_path_util.h"
#include "RNA_types.h"
struct bContext;
struct Depsgraph;
struct Scene;
struct ViewLayer;
struct bContext;
/*
* both return 1 on success, 0 on error

View File

@@ -33,8 +33,8 @@ extern "C" {
#define PASS_VECTOR_MAX 10000.0f
/* Forward declarations */
struct ZSpan;
struct DrawBufPixel;
struct ZSpan;
void zbuf_accumulate_vecblur(
NodeBlurData *nbd, int xsize, int ysize, float *newrect,
const float *imgrect, float *vecbufrect, const float *zbufrect);

View File

@@ -41,8 +41,8 @@ struct Depsgraph;
/* ------------------------------------------------ */
struct CacheFile;
struct EffectorWeights;
struct Collection;
struct EffectorWeights;
struct ID;
struct Main;
struct ModifierData;

View File

@@ -33,8 +33,8 @@
#include "DEG_depsgraph.h"
struct Colllection;
struct Depsgraph;
struct DepsNodeHandle;
struct Depsgraph;
struct EffectorWeights;
struct ListBase;
struct Object;

Some files were not shown because too many files have changed in this diff Show More