fixed spacing in the headers to get rid of some warnings and some other
little minor spacing issues.
This commit is contained in:
@@ -306,3 +306,4 @@ AviError AVI_print_error (AviError error);
|
||||
void AVI_set_debug (int mode);
|
||||
|
||||
#endif /* __AVI_H__ */
|
||||
|
||||
|
@@ -51,3 +51,4 @@ int avi_get_format_fcc(AviFormat format);
|
||||
int avi_get_format_compression(AviFormat format);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -31,3 +31,4 @@
|
||||
*/
|
||||
void *avi_converter_from_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size);
|
||||
void *avi_converter_to_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size);
|
||||
|
||||
|
@@ -52,3 +52,4 @@
|
||||
void awrite (AviMovie *movie, void *datain, int block, int size, FILE *fp, int type);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -31,3 +31,4 @@
|
||||
*/
|
||||
void *avi_converter_from_mjpeg (AviMovie *movie, int stream, unsigned char *buffer, int *size);
|
||||
void *avi_converter_to_mjpeg (AviMovie *movie, int stream, unsigned char *buffer, int *size);
|
||||
|
||||
|
@@ -31,3 +31,4 @@
|
||||
*/
|
||||
void *avi_converter_from_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size);
|
||||
void *avi_converter_to_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size);
|
||||
|
||||
|
@@ -233,6 +233,6 @@ enum {
|
||||
PCHAN_DONE = 0x00000400
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@@ -50,3 +50,4 @@ void free_duplilist(void);
|
||||
void make_duplilist(struct Scene *sce, struct Object *ob);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -118,4 +118,6 @@ void GB_validate_defgroups (struct Mesh *mesh, struct ListBase *defbase);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -62,3 +62,4 @@ void pushpop_test(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -62,3 +62,4 @@ void matrixGlyph(struct ImBuf * ibuf, unsigned short unicode,
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -59,3 +59,4 @@ typedef struct bmFont {
|
||||
} bmFont;
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -137,7 +137,5 @@ typedef struct {
|
||||
short mode, tile;
|
||||
} FaceData;
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -116,7 +116,5 @@ NewBooleanMeshTest(
|
||||
int op_type
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -62,3 +62,4 @@ void free_constraint_channels (ListBase *chanbase);
|
||||
#define TARGET_CV 5 // string is "CV:#"
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -84,3 +84,4 @@ void swapdata(void *adr1, void *adr2, int len);
|
||||
void switchdirectionNurb( struct Nurb *nu);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -115,3 +115,4 @@ void reshadeall_displist(void);
|
||||
void test_all_displists(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -63,3 +63,4 @@ void calc_wave_deform(struct WaveEff *wav, float ctime, float *co);
|
||||
void object_wave(struct Object *ob);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -44,3 +44,4 @@
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -52,3 +52,4 @@ void write_vrml(char *str);
|
||||
void write_videoscape(char *str);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -48,3 +48,4 @@ struct chartrans *text_to_curve(struct Object *ob, int mode);
|
||||
void font_duplilist(struct Object *par);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -222,3 +222,4 @@ extern Global G;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -56,3 +56,4 @@ void set_group_key_name(struct Group *group, char *name);
|
||||
void set_group_key_frame(struct Group *group, float frame);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -57,3 +57,4 @@ void init_skel_deform(struct Object *par, struct Object *ob);
|
||||
void calc_skel_deform(struct Ika *ika, float *co);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -65,3 +65,4 @@ void makemipmap(struct Image *ima);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -97,5 +97,5 @@ float IPO_GetFloatValue(struct Ipo *ipo,
|
||||
short c,
|
||||
float ctime);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -67,3 +67,4 @@ void do_ob_key(struct Object *ob);
|
||||
void do_spec_key(struct Key *key);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -57,3 +57,4 @@ void outside_lattice(struct Lattice *lt);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -67,3 +67,4 @@ void IDnames_to_pupstring(char **str, char *title, char *extraops, struct ListBa
|
||||
void IPOnames_to_pupstring(char **str, char *title, char *extraops, struct ListBase *lb, struct ID* link, short *nr, int blocktype);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -78,3 +78,4 @@ typedef struct Main {
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -66,3 +66,4 @@ void delete_material_index(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -62,3 +62,4 @@ int nextcwedge (int edge, int face);
|
||||
void BKE_freecubetable(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -114,3 +114,4 @@ int update_realtime_texture(struct TFace *tface, double time);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -43,4 +43,3 @@ void copy_actionstrip (struct bActionStrip **dst, struct bActionStrip **src);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@@ -97,3 +97,4 @@ void solve_constraints (struct Object *ob, short obtype, void *obdata, float cti
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -51,3 +51,4 @@ typedef struct RE_Osa
|
||||
memory was allocated in that module. (nzc)*/
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -59,3 +59,4 @@ int unpackImage(struct Image * ima, int how);
|
||||
void unpackAll(int how);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -68,3 +68,4 @@ typedef struct _PluginInfo {
|
||||
} PluginInfo;
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -52,3 +52,4 @@ void set_property_valstr(struct bProperty *prop, char *str);
|
||||
void cp_property(struct bProperty *prop1, struct bProperty *prop2);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -72,3 +72,4 @@ void set_sca_new_poins(void);
|
||||
void sca_remove_ob_poin(struct Object *obt, struct Object *ob);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -54,3 +54,4 @@ void scene_deselect_all(struct Scene *sce);
|
||||
void scene_select_base(struct Scene *sce, struct Base *selbase);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -38,3 +38,4 @@ void free_screen(struct bScreen *sc);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -49,3 +49,4 @@ void sound_free_sample(struct bSample* sample);
|
||||
void sound_free_sound(struct bSound* sound);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -41,3 +41,4 @@ void subsurf_make_editmesh(struct Object *ob);
|
||||
struct DispList* subsurf_mesh_to_displist(struct Mesh *me, struct DispList *dl, short subdiv);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -126,3 +126,4 @@ int txt_add_char (struct Text *text, char add);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -82,4 +82,6 @@ void do_lamp_tex(struct LampRen *la, float *lavec);
|
||||
void externtex(struct MTex *mtex, float *vec);
|
||||
void externtexcol(struct MTex *mtex, float *orco, char *col);
|
||||
void render_realtime_texture(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -296,5 +296,5 @@
|
||||
/* useless game shit */
|
||||
#define MA_FH_NOR 2
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -43,3 +43,4 @@ void make_local_world(struct World *wrld);
|
||||
void init_render_world(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -756,3 +756,4 @@ MinMaxRGB(
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -323,3 +323,4 @@ void BLI_setScanFillColourRef(char* c);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -87,3 +87,4 @@ char* BLI_dynstr_get_cstring (DynStr *ds);
|
||||
void BLI_dynstr_free (DynStr *ds);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -71,3 +71,4 @@ typedef struct EditVlak
|
||||
} EditVlak;
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -57,3 +57,4 @@ unsigned int BLI_ghashutil_strhash (void *key);
|
||||
int BLI_ghashutil_strcmp (void *a, void *b);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -93,3 +93,4 @@ void BLI_qsueue_pushback (GSQueue *gq, void *item);
|
||||
void BLI_gsqueue_free (GSQueue *gq);
|
||||
|
||||
#endif /* BLI_GSQUEUE_H */
|
||||
|
||||
|
@@ -58,3 +58,4 @@ void BLI_linklist_free (struct LinkNode *list, LinkNodeFreeFP freefunc);
|
||||
void BLI_linklist_apply (struct LinkNode *list, LinkNodeApplyFP applyfunc);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -56,3 +56,4 @@ void BLI_memarena_free (struct MemArena *ma);
|
||||
void* BLI_memarena_alloc (struct MemArena *ma, int size);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -66,3 +66,4 @@ void BLI_storerand (unsigned int loc_r[2]);
|
||||
void BLI_restorerand (unsigned int loc[2]);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -77,3 +77,4 @@ struct dirlink
|
||||
};
|
||||
|
||||
#endif /* BLI_STORAGE_TYPES_H */
|
||||
|
||||
|
@@ -64,3 +64,4 @@ BLI_vfontdata_from_psfont(
|
||||
struct PackedFile *pf);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -94,3 +94,4 @@ struct dirent *readdir(DIR *dp);
|
||||
int closedir (DIR *dp);
|
||||
|
||||
#endif /* __WINSTUFF_H__ */
|
||||
|
||||
|
@@ -162,3 +162,4 @@ void MTC_Mat3One(float m[][3]);
|
||||
#endif
|
||||
|
||||
#endif /* MATRIXOPS_H */
|
||||
|
||||
|
@@ -58,3 +58,4 @@ float MTC_normalise3DF(float n[3]);
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#endif /* VECTOROPS_H */
|
||||
|
||||
|
@@ -52,3 +52,4 @@ PIL_dynlib_close(
|
||||
PILdynlib* lib);
|
||||
|
||||
#endif /* __PIL_DYNLIB_H__ */
|
||||
|
||||
|
@@ -59,3 +59,4 @@ void PIL_sleep_ms (int ms);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -42,3 +42,4 @@ void callLocalErrorCallBack(char* msg);
|
||||
int callLocalInterruptCallBack(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -47,3 +47,4 @@ void BLI_setCmdCallBack(int (*f)(char*));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -39,3 +39,4 @@
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -38,3 +38,4 @@ void BLI_builddir(char *dirname, char *relname);
|
||||
int BLI_compare(struct direntry *entry1, struct direntry *entry2);
|
||||
|
||||
#endif /* BLI_STORAGE_H */
|
||||
|
||||
|
@@ -45,3 +45,4 @@ struct ListBase;
|
||||
/* void addlisttolist(struct ListBase *list1, struct ListBase *list2); */
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -37,3 +37,4 @@
|
||||
int BLO_findstruct_offset(char *structname, char *member);// used by py_main.c
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -239,3 +239,4 @@ blo_readstreamfile_end(
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -41,3 +41,4 @@ struct PackedFile;
|
||||
//void sound_read_wav_data(bSound * sound, PackedFile * pf);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -38,3 +38,4 @@ int BLO_write_file(char *dir, int write_flags, char **error_r);
|
||||
void BLO_write_runtime(char *file, char *exename);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -44,5 +44,5 @@ void *dna_reconstruct(struct SDNA *newsdna, struct SDNA *oldsdna, char *compflag
|
||||
struct SDNA *dna_sdna_from_data(void *data, int datalen, int do_endian_swap);
|
||||
void dna_freestructDNA(struct SDNA *sdna);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -128,3 +128,4 @@ blo_prevbhead(
|
||||
BHead *thisblock);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -69,3 +69,4 @@
|
||||
* The plugins wraps functions from IMB and BLI. In addition, they
|
||||
* define some useful variables.
|
||||
* */
|
||||
|
||||
|
@@ -183,3 +183,4 @@ extern void rectop(struct ImBuf *dbuf,
|
||||
int value);
|
||||
|
||||
#endif /* IFF_H */
|
||||
|
||||
|
@@ -91,3 +91,4 @@ extern float turbulence(float noisesize, float x, float y, float z, int depth);
|
||||
extern float turbulence1(float noisesize, float x, float y, float z, int depth);
|
||||
|
||||
#endif /* PLUGIN_H */
|
||||
|
||||
|
@@ -92,3 +92,4 @@ extern void *callocN(int len, char *str);
|
||||
extern short freeN(void *vmemh);
|
||||
|
||||
#endif /* UTIL_H */
|
||||
|
||||
|
@@ -58,3 +58,4 @@ int BPY_call_importloader(char *name);
|
||||
int BPY_spacetext_is_pywin(struct SpaceText *st);
|
||||
void BPY_spacetext_do_pywin_draw(struct SpaceText *st);
|
||||
void BPY_spacetext_do_pywin_event(struct SpaceText *st, unsigned short event, short val);
|
||||
|
||||
|
@@ -33,3 +33,4 @@
|
||||
|
||||
#include "opy_datablock.h"
|
||||
#include "b_interface.h"
|
||||
|
||||
|
@@ -60,3 +60,4 @@
|
||||
#define GETLISTFUNC(x) _GETLIST(x)
|
||||
// Prototype for the above function
|
||||
#define GETLISTPROTO(x) PyObject *_GETLIST(x)(PyObject *, PyObject *)
|
||||
|
||||
|
@@ -266,3 +266,4 @@ static PyObject *type##_clrIpo(PyObject *self, PyObject *args) \
|
||||
#define PYBLOCK_AS_LAMP(x) PYBLOCK_AS(Lamp, x)
|
||||
#define PYBLOCK_AS_IPO(x) PYBLOCK_AS(Ipo, x)
|
||||
#define PYBLOCK_AS_DATA(x) PYBLOCK_AS(void, x)
|
||||
|
||||
|
@@ -84,3 +84,4 @@ void syspath_append(PyObject *dir);
|
||||
void init_syspath(void);
|
||||
void set_scriptlinks(ID *id, short event);
|
||||
void release_scriptlinks(ID *id);
|
||||
|
||||
|
@@ -43,5 +43,3 @@ void init_py_matrix(void);
|
||||
void init_Datablockmodules(PyObject *dict);
|
||||
void initGUI(void);
|
||||
|
||||
|
||||
|
||||
|
@@ -35,3 +35,4 @@ extern PyObject *BPY_err_ret_ob (PyObject *type, char *err);
|
||||
extern int py_err_ret_int (PyObject *type, char *err);
|
||||
extern int BPY_check_sequence_consistency (PyObject *seq, PyTypeObject *against);
|
||||
extern int BPY_parsefloatvector(PyObject *vec, float *ptr, int n);
|
||||
|
||||
|
@@ -37,3 +37,4 @@ extern PyTypeObject Vector_Type, Matrix_Type;
|
||||
|
||||
extern PyTypeObject DataBlock_Type;
|
||||
extern struct PyMethodDef Null_methods[];
|
||||
|
||||
|
@@ -85,3 +85,4 @@ MODNAME(BLENDERMODULE) -> "_Blender"
|
||||
#ifdef EXPERIMENTAL
|
||||
#undef USE_NMESH
|
||||
#endif
|
||||
|
||||
|
@@ -33,3 +33,4 @@
|
||||
PyObject *importText (char *name);
|
||||
PyObject *blender_import (PyObject *self, PyObject *args);
|
||||
void init_ourImport (void);
|
||||
|
||||
|
@@ -180,5 +180,3 @@ void mesh_update(Mesh *me);
|
||||
/* blender's program name */
|
||||
extern char bprogname[]; /* init in creator.c */
|
||||
|
||||
|
||||
|
||||
|
@@ -191,3 +191,4 @@ struct Material;
|
||||
struct
|
||||
Material **newMaterialList_fromPyList(PyObject *list);
|
||||
PyObject *PyList_fromMaterialList(struct Material **matlist, int len);
|
||||
|
||||
|
@@ -91,3 +91,4 @@ PyObject *newNMesh(Mesh *oldmesh);
|
||||
Mesh *Mesh_fromNMesh(NMesh *nmesh);
|
||||
PyObject *NMesh_assignMaterials_toObject(NMesh *nmesh, Object *ob);
|
||||
Material **nmesh_updateMaterials(NMesh *nmesh);
|
||||
|
||||
|
@@ -60,4 +60,3 @@ PyObject *newMatrixObject(Matrix4Ptr mat);
|
||||
void init_py_matrix(void);
|
||||
void init_py_vector(void);
|
||||
|
||||
|
||||
|
@@ -76,3 +76,4 @@ BLO_decrypt_end(
|
||||
#endif
|
||||
|
||||
#endif /* BLO_DECRYPT_H */
|
||||
|
||||
|
@@ -63,3 +63,4 @@ struct BLO_en_de_cryptHeaderStruct {
|
||||
#endif
|
||||
|
||||
#endif /* BLO_EN_DE_CRYPT_H */
|
||||
|
||||
|
@@ -56,3 +56,4 @@ BLO_deflate(
|
||||
#endif
|
||||
|
||||
#endif /* BLO_DEFLATE_H */
|
||||
|
||||
|
@@ -48,3 +48,4 @@ BLO_encrypt(
|
||||
#endif
|
||||
|
||||
#endif /* BLO_ENCRYPT_H */
|
||||
|
||||
|
@@ -477,3 +477,4 @@ void IMB_freezbufImBuf(struct ImBuf * ibuf);
|
||||
void IMB_rectfill(unsigned int *drect, unsigned int *srect, int x, int value);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -49,3 +49,4 @@ void imb_freeplanesImBuf(struct ImBuf *ibuf);
|
||||
short imb_addcmapImBuf(struct ImBuf *ibuf);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -42,3 +42,4 @@ short imb_encodebodyh(struct ImBuf *ibuf, int file);
|
||||
short imb_encodebodyv(struct ImBuf *ibuf, int file);
|
||||
|
||||
#endif
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user