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 _LoggerWindow LoggerWindow;
typedef struct _MultiTestApp MultiTestApp;
void loggerwindow_log(LoggerWindow *lw, char *line); void loggerwindow_log(LoggerWindow *lw, char *line);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -34,12 +34,12 @@
struct ColorManagedColorspaceSettings; struct ColorManagedColorspaceSettings;
struct ColorManagedDisplaySettings; struct ColorManagedDisplaySettings;
struct ColorManagedViewSettings; struct ColorManagedViewSettings;
struct CurveMapping;
struct CurveMap; struct CurveMap;
struct CurveMapPoint; struct CurveMapPoint;
struct Scopes; struct CurveMapping;
struct Histogram; struct Histogram;
struct ImBuf; struct ImBuf;
struct Scopes;
struct rctf; struct rctf;
void curvemapping_set_defaults(struct CurveMapping *cumap, int tot, float minx, float miny, float maxx, float maxy); 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) * \author Joshua Leung (major recode 2007)
*/ */
struct Depsgraph;
struct ID; struct ID;
struct bConstraint;
struct bConstraintTarget;
struct ListBase; struct ListBase;
struct Object; struct Object;
struct Scene; struct Scene;
struct bConstraint;
struct bConstraintTarget;
struct bPoseChannel; struct bPoseChannel;
struct Depsgraph;
/* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */
#ifdef __cplusplus #ifdef __cplusplus

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -36,14 +36,14 @@
#include "BLI_compiler_attrs.h" #include "BLI_compiler_attrs.h"
struct BPoint;
struct Depsgraph;
struct Lattice; struct Lattice;
struct MDeformVert;
struct Main; struct Main;
struct Mesh; struct Mesh;
struct Object; struct Object;
struct Scene; struct Scene;
struct BPoint;
struct MDeformVert;
struct Depsgraph;
struct bGPDstroke; struct bGPDstroke;
void BKE_lattice_resize(struct Lattice *lt, int u, int v, int w, struct Object *ltOb); 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 BlendThumbnail;
struct GHash; struct GHash;
struct ListBase;
struct ID; struct ID;
struct ImBuf; struct ImBuf;
struct Main;
struct Library; struct Library;
struct wmWindowManager; struct ListBase;
struct bContext; struct Main;
struct PointerRNA; struct PointerRNA;
struct PropertyRNA; struct PropertyRNA;
struct bContext;
struct wmWindowManager;
size_t BKE_libblock_get_alloc_info(short type, const char **name); size_t BKE_libblock_get_alloc_info(short type, const char **name);
void *BKE_libblock_alloc_notest(short type) ATTR_WARN_UNUSED_RESULT; void *BKE_libblock_alloc_notest(short type) ATTR_WARN_UNUSED_RESULT;

View File

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

View File

@@ -33,8 +33,8 @@
* \brief General operations for probes. * \brief General operations for probes.
*/ */
struct Main;
struct LightProbe; struct LightProbe;
struct Main;
void BKE_lightprobe_init(struct LightProbe *probe); void BKE_lightprobe_init(struct LightProbe *probe);
void *BKE_lightprobe_add(struct Main *bmain, const char *name); 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_THICKNESS 3
#define LS_MODIFIER_TYPE_GEOMETRY 4 #define LS_MODIFIER_TYPE_GEOMETRY 4
struct ColorBand;
struct Main; struct Main;
struct Object; struct Object;
struct ColorBand;
struct bContext;
struct ViewLayer; struct ViewLayer;
struct bContext;
void BKE_linestyle_init(struct FreestyleLineStyle *linestyle); void BKE_linestyle_init(struct FreestyleLineStyle *linestyle);
FreestyleLineStyle *BKE_linestyle_new(struct Main *bmain, const char *name); FreestyleLineStyle *BKE_linestyle_new(struct Main *bmain, const char *name);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -26,9 +26,9 @@
*/ */
struct CustomData; struct CustomData;
struct Mesh;
struct MVert; struct MVert;
struct MemArena; struct MemArena;
struct Mesh;
/* Generic ways to map some geometry elements from a source mesh to a dest one. */ /* 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 CustomData;
struct Depsgraph; struct Depsgraph;
struct KeyBlock; struct KeyBlock;
struct Mesh;
struct MLoop; struct MLoop;
struct MLoopTri; struct MLoopTri;
struct MVertTri; struct MVertTri;
struct Mesh;
struct Object; struct Object;
struct Scene; struct Scene;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -41,28 +41,28 @@
#include "BKE_customdata.h" #include "BKE_customdata.h"
struct ParticleSystemModifierData;
struct ParticleSystem;
struct ParticleKey; struct ParticleKey;
struct ParticleSettings; 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 BVHTreeRay;
struct BVHTreeRayHit; struct BVHTreeRayHit;
struct EdgeHash;
struct Depsgraph; 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; struct ViewLayer;
#define PARTICLE_COLLISION_MAX_COLLISIONS 10 #define PARTICLE_COLLISION_MAX_COLLISIONS 10

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -30,22 +30,22 @@
#include "BLI_compiler_attrs.h" #include "BLI_compiler_attrs.h"
#include "BKE_customdata.h" #include "BKE_customdata.h"
struct ID; struct DepsNodeHandle;
struct Depsgraph; struct Depsgraph;
struct DerivedMesh; struct DerivedMesh;
struct ID;
struct ListBase;
struct Main;
struct Mesh; struct Mesh;
struct ModifierUpdateDepsgraphContext;
struct Object; struct Object;
struct Scene; struct Scene;
struct ViewLayer;
struct ListBase;
struct bArmature;
struct Main;
struct ShaderFxData; struct ShaderFxData;
struct DepsNodeHandle; struct ViewLayer;
struct bGPDlayer; struct bArmature;
struct bGPDframe; struct bGPDframe;
struct bGPDlayer;
struct bGPDstroke; struct bGPDstroke;
struct ModifierUpdateDepsgraphContext;
#define SHADER_FX_ACTIVE(_fx, _is_render) (((_fx->mode & eShaderFxMode_Realtime) && (_is_render == false)) || \ #define SHADER_FX_ACTIVE(_fx, _is_render) (((_fx->mode & eShaderFxMode_Realtime) && (_is_render == false)) || \
((_fx->mode & eShaderFxMode_Render) && (_is_render == true))) ((_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) * (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 BVHTree;
struct MDeformVert;
struct MVert;
struct Mesh;
struct ModifierEvalContext;
struct Object;
struct ShrinkwrapModifierData;
struct SpaceTransform; struct SpaceTransform;
/* Information about boundary edges in the mesh. */ /* Information about boundary edges in the mesh. */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -30,10 +30,10 @@ typedef void* CCGVertHDL;
typedef void* CCGEdgeHDL; typedef void* CCGEdgeHDL;
typedef void* CCGFaceHDL; typedef void* CCGFaceHDL;
typedef struct CCGSubSurf CCGSubSurf;
typedef struct CCGVert CCGVert;
typedef struct CCGEdge CCGEdge; typedef struct CCGEdge CCGEdge;
typedef struct CCGFace CCGFace; typedef struct CCGFace CCGFace;
typedef struct CCGSubSurf CCGSubSurf;
typedef struct CCGVert CCGVert;
typedef struct CCGMeshIFC { typedef struct CCGMeshIFC {
int vertUserSize, edgeUserSize, faceUserSize; 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 CCGEdgeIterator;
typedef struct _EHashIterator CCGFaceIterator; typedef struct _EHashIterator CCGFaceIterator;
typedef struct _EHashIterator CCGVertIterator;
void ccgSubSurf_initVertIterator(CCGSubSurf *ss, CCGVertIterator *viter); void ccgSubSurf_initVertIterator(CCGSubSurf *ss, CCGVertIterator *viter);
void ccgSubSurf_initEdgeIterator(CCGSubSurf *ss, CCGEdgeIterator *eiter); void ccgSubSurf_initEdgeIterator(CCGSubSurf *ss, CCGEdgeIterator *eiter);

View File

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

View File

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

View File

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

View File

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

View File

@@ -24,8 +24,8 @@
* \ingroup bli * \ingroup bli
*/ */
struct ProjCameraInfo;
struct Object; struct Object;
struct ProjCameraInfo;
/* create uv info from the camera, needs to be freed */ /* 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); 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(); remove_tagged_functions();
} }
struct Main;
struct ID; struct ID;
struct Main;
static void remove_non_persistent_functions(struct Main *UNUSED(_1), struct ID *UNUSED(_2), void *UNUSED(_3)) static void remove_non_persistent_functions(struct Main *UNUSED(_1), struct ID *UNUSED(_2), void *UNUSED(_3))
{ {
LISTBASE_FOREACH(TimedFunction *, timed_func, &GlobalTimer.funcs) { LISTBASE_FOREACH(TimedFunction *, timed_func, &GlobalTimer.funcs) {

View File

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

View File

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

View File

@@ -38,13 +38,13 @@
#include "DNA_space_types.h" #include "DNA_space_types.h"
#include "DNA_windowmanager_types.h" /* for ReportType */ #include "DNA_windowmanager_types.h" /* for ReportType */
struct OldNewMap;
struct MemFile;
struct ReportList;
struct Object;
struct PartEff;
struct View3D;
struct Key; struct Key;
struct MemFile;
struct Object;
struct OldNewMap;
struct PartEff;
struct ReportList;
struct View3D;
typedef struct FileData { typedef struct FileData {
// linked list of BHeadN's // 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 */ /* dissable holes for now, these are ifdef'd because they use more memory and cant be saved in DNA currently */
// #define USE_BMESH_HOLES // #define USE_BMESH_HOLES
struct BMesh;
struct BMVert;
struct BMEdge; struct BMEdge;
struct BMLoop;
struct BMFace; struct BMFace;
struct BMLoop;
struct BMVert;
struct BMesh;
struct MLoopNorSpaceArray; struct MLoopNorSpaceArray;

View File

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

View File

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

View File

@@ -27,8 +27,8 @@
* \ingroup bmesh * \ingroup bmesh
*/ */
struct BMesh;
struct BMOperator; struct BMOperator;
struct BMesh;
void bmo_automerge_exec(BMesh *bm, BMOperator *op); void bmo_automerge_exec(BMesh *bm, BMOperator *op);
void bmo_average_vert_facedata_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 "BLI_path_util.h"
#include "RNA_types.h" #include "RNA_types.h"
struct bContext;
struct Depsgraph; struct Depsgraph;
struct Scene; struct Scene;
struct ViewLayer; struct ViewLayer;
struct bContext;
/* /*
* both return 1 on success, 0 on error * both return 1 on success, 0 on error

View File

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

View File

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

View File

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

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