fixed spacing in the headers to get rid of some warnings and some other

little minor spacing issues.
This commit is contained in:
2002-10-30 02:07:20 +00:00
parent f6c7a89357
commit 01bff70383
699 changed files with 778 additions and 428 deletions

View File

@@ -306,3 +306,4 @@ AviError AVI_print_error (AviError error);
void AVI_set_debug (int mode);
#endif /* __AVI_H__ */

View File

@@ -51,3 +51,4 @@ int avi_get_format_fcc(AviFormat format);
int avi_get_format_compression(AviFormat format);
#endif

View File

@@ -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);

View File

@@ -52,3 +52,4 @@
void awrite (AviMovie *movie, void *datain, int block, int size, FILE *fp, int type);
#endif

View File

@@ -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);

View File

@@ -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);

View File

@@ -233,6 +233,6 @@ enum {
PCHAN_DONE = 0x00000400
};
#endif

View File

@@ -50,3 +50,4 @@ void free_duplilist(void);
void make_duplilist(struct Scene *sce, struct Object *ob);
#endif

View File

@@ -118,4 +118,6 @@ void GB_validate_defgroups (struct Mesh *mesh, struct ListBase *defbase);
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -62,3 +62,4 @@ void pushpop_test(void);
#endif
#endif

View File

@@ -62,3 +62,4 @@ void matrixGlyph(struct ImBuf * ibuf, unsigned short unicode,
#endif
#endif

View File

@@ -59,3 +59,4 @@ typedef struct bmFont {
} bmFont;
#endif

View File

@@ -137,7 +137,5 @@ typedef struct {
short mode, tile;
} FaceData;
#endif

View File

@@ -116,7 +116,5 @@ NewBooleanMeshTest(
int op_type
);
#endif

View File

@@ -62,3 +62,4 @@ void free_constraint_channels (ListBase *chanbase);
#define TARGET_CV 5 // string is "CV:#"
#endif

View File

@@ -84,3 +84,4 @@ void swapdata(void *adr1, void *adr2, int len);
void switchdirectionNurb( struct Nurb *nu);
#endif

View File

@@ -115,3 +115,4 @@ void reshadeall_displist(void);
void test_all_displists(void);
#endif

View File

@@ -63,3 +63,4 @@ void calc_wave_deform(struct WaveEff *wav, float ctime, float *co);
void object_wave(struct Object *ob);
#endif

View File

@@ -44,3 +44,4 @@
}
#endif

View File

@@ -52,3 +52,4 @@ void write_vrml(char *str);
void write_videoscape(char *str);
#endif

View File

@@ -48,3 +48,4 @@ struct chartrans *text_to_curve(struct Object *ob, int mode);
void font_duplilist(struct Object *par);
#endif

View File

@@ -222,3 +222,4 @@ extern Global G;
#endif
#endif

View File

@@ -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

View File

@@ -57,3 +57,4 @@ void init_skel_deform(struct Object *par, struct Object *ob);
void calc_skel_deform(struct Ika *ika, float *co);
#endif

View File

@@ -65,3 +65,4 @@ void makemipmap(struct Image *ima);
#endif
#endif

View File

@@ -97,5 +97,5 @@ float IPO_GetFloatValue(struct Ipo *ipo,
short c,
float ctime);
#endif

View File

@@ -67,3 +67,4 @@ void do_ob_key(struct Object *ob);
void do_spec_key(struct Key *key);
#endif

View File

@@ -57,3 +57,4 @@ void outside_lattice(struct Lattice *lt);
#endif

View File

@@ -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

View File

@@ -78,3 +78,4 @@ typedef struct Main {
#endif

View File

@@ -66,3 +66,4 @@ void delete_material_index(void);
#endif
#endif

View File

@@ -62,3 +62,4 @@ int nextcwedge (int edge, int face);
void BKE_freecubetable(void);
#endif

View File

@@ -114,3 +114,4 @@ int update_realtime_texture(struct TFace *tface, double time);
#endif
#endif

View File

@@ -43,4 +43,3 @@ void copy_actionstrip (struct bActionStrip **dst, struct bActionStrip **src);
#endif

View File

@@ -97,3 +97,4 @@ void solve_constraints (struct Object *ob, short obtype, void *obdata, float cti
#endif
#endif

View File

@@ -51,3 +51,4 @@ typedef struct RE_Osa
memory was allocated in that module. (nzc)*/
#endif

View File

@@ -59,3 +59,4 @@ int unpackImage(struct Image * ima, int how);
void unpackAll(int how);
#endif

View File

@@ -68,3 +68,4 @@ typedef struct _PluginInfo {
} PluginInfo;
#endif

View File

@@ -52,3 +52,4 @@ void set_property_valstr(struct bProperty *prop, char *str);
void cp_property(struct bProperty *prop1, struct bProperty *prop2);
#endif

View File

@@ -72,3 +72,4 @@ void set_sca_new_poins(void);
void sca_remove_ob_poin(struct Object *obt, struct Object *ob);
#endif

View File

@@ -54,3 +54,4 @@ void scene_deselect_all(struct Scene *sce);
void scene_select_base(struct Scene *sce, struct Base *selbase);
#endif

View File

@@ -38,3 +38,4 @@ void free_screen(struct bScreen *sc);
#endif

View File

@@ -49,3 +49,4 @@ void sound_free_sample(struct bSample* sample);
void sound_free_sound(struct bSound* sound);
#endif

View File

@@ -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

View File

@@ -126,3 +126,4 @@ int txt_add_char (struct Text *text, char add);
#endif
#endif

View File

@@ -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

View File

@@ -296,5 +296,5 @@
/* useless game shit */
#define MA_FH_NOR 2
#endif

View File

@@ -43,3 +43,4 @@ void make_local_world(struct World *wrld);
void init_render_world(void);
#endif

View File

@@ -756,3 +756,4 @@ MinMaxRGB(
#endif
#endif

View File

@@ -323,3 +323,4 @@ void BLI_setScanFillColourRef(char* c);
#endif
#endif

View File

@@ -87,3 +87,4 @@ char* BLI_dynstr_get_cstring (DynStr *ds);
void BLI_dynstr_free (DynStr *ds);
#endif

View File

@@ -71,3 +71,4 @@ typedef struct EditVlak
} EditVlak;
#endif

View File

@@ -57,3 +57,4 @@ unsigned int BLI_ghashutil_strhash (void *key);
int BLI_ghashutil_strcmp (void *a, void *b);
#endif

View File

@@ -93,3 +93,4 @@ void BLI_qsueue_pushback (GSQueue *gq, void *item);
void BLI_gsqueue_free (GSQueue *gq);
#endif /* BLI_GSQUEUE_H */

View File

@@ -58,3 +58,4 @@ void BLI_linklist_free (struct LinkNode *list, LinkNodeFreeFP freefunc);
void BLI_linklist_apply (struct LinkNode *list, LinkNodeApplyFP applyfunc);
#endif

View File

@@ -56,3 +56,4 @@ void BLI_memarena_free (struct MemArena *ma);
void* BLI_memarena_alloc (struct MemArena *ma, int size);
#endif

View File

@@ -66,3 +66,4 @@ void BLI_storerand (unsigned int loc_r[2]);
void BLI_restorerand (unsigned int loc[2]);
#endif

View File

@@ -77,3 +77,4 @@ struct dirlink
};
#endif /* BLI_STORAGE_TYPES_H */

View File

@@ -64,3 +64,4 @@ BLI_vfontdata_from_psfont(
struct PackedFile *pf);
#endif

View File

@@ -94,3 +94,4 @@ struct dirent *readdir(DIR *dp);
int closedir (DIR *dp);
#endif /* __WINSTUFF_H__ */

View File

@@ -162,3 +162,4 @@ void MTC_Mat3One(float m[][3]);
#endif
#endif /* MATRIXOPS_H */

View File

@@ -58,3 +58,4 @@ float MTC_normalise3DF(float n[3]);
/* ------------------------------------------------------------------------- */
#endif /* VECTOROPS_H */

View File

@@ -52,3 +52,4 @@ PIL_dynlib_close(
PILdynlib* lib);
#endif /* __PIL_DYNLIB_H__ */

View File

@@ -59,3 +59,4 @@ void PIL_sleep_ms (int ms);
#endif
#endif

View File

@@ -42,3 +42,4 @@ void callLocalErrorCallBack(char* msg);
int callLocalInterruptCallBack(void);
#endif

View File

@@ -47,3 +47,4 @@ void BLI_setCmdCallBack(int (*f)(char*));
#endif
#endif

View File

@@ -39,3 +39,4 @@
#endif

View File

@@ -38,3 +38,4 @@ void BLI_builddir(char *dirname, char *relname);
int BLI_compare(struct direntry *entry1, struct direntry *entry2);
#endif /* BLI_STORAGE_H */

View File

@@ -45,3 +45,4 @@ struct ListBase;
/* void addlisttolist(struct ListBase *list1, struct ListBase *list2); */
#endif

View File

@@ -37,3 +37,4 @@
int BLO_findstruct_offset(char *structname, char *member);// used by py_main.c
#endif

View File

@@ -239,3 +239,4 @@ blo_readstreamfile_end(
#endif
#endif

View File

@@ -41,3 +41,4 @@ struct PackedFile;
//void sound_read_wav_data(bSound * sound, PackedFile * pf);
#endif

View File

@@ -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

View File

@@ -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

View File

@@ -128,3 +128,4 @@ blo_prevbhead(
BHead *thisblock);
#endif

View File

@@ -69,3 +69,4 @@
* The plugins wraps functions from IMB and BLI. In addition, they
* define some useful variables.
* */

View File

@@ -183,3 +183,4 @@ extern void rectop(struct ImBuf *dbuf,
int value);
#endif /* IFF_H */

View File

@@ -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 */

View File

@@ -92,3 +92,4 @@ extern void *callocN(int len, char *str);
extern short freeN(void *vmemh);
#endif /* UTIL_H */

View File

@@ -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);

View File

@@ -33,3 +33,4 @@
#include "opy_datablock.h"
#include "b_interface.h"

View File

@@ -60,3 +60,4 @@
#define GETLISTFUNC(x) _GETLIST(x)
// Prototype for the above function
#define GETLISTPROTO(x) PyObject *_GETLIST(x)(PyObject *, PyObject *)

View File

@@ -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)

View File

@@ -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);

View File

@@ -43,5 +43,3 @@ void init_py_matrix(void);
void init_Datablockmodules(PyObject *dict);
void initGUI(void);

View File

@@ -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);

View File

@@ -37,3 +37,4 @@ extern PyTypeObject Vector_Type, Matrix_Type;
extern PyTypeObject DataBlock_Type;
extern struct PyMethodDef Null_methods[];

View File

@@ -85,3 +85,4 @@ MODNAME(BLENDERMODULE) -> "_Blender"
#ifdef EXPERIMENTAL
#undef USE_NMESH
#endif

View File

@@ -33,3 +33,4 @@
PyObject *importText (char *name);
PyObject *blender_import (PyObject *self, PyObject *args);
void init_ourImport (void);

View File

@@ -180,5 +180,3 @@ void mesh_update(Mesh *me);
/* blender's program name */
extern char bprogname[]; /* init in creator.c */

View File

@@ -191,3 +191,4 @@ struct Material;
struct
Material **newMaterialList_fromPyList(PyObject *list);
PyObject *PyList_fromMaterialList(struct Material **matlist, int len);

View File

@@ -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);

View File

@@ -60,4 +60,3 @@ PyObject *newMatrixObject(Matrix4Ptr mat);
void init_py_matrix(void);
void init_py_vector(void);

View File

@@ -76,3 +76,4 @@ BLO_decrypt_end(
#endif
#endif /* BLO_DECRYPT_H */

View File

@@ -63,3 +63,4 @@ struct BLO_en_de_cryptHeaderStruct {
#endif
#endif /* BLO_EN_DE_CRYPT_H */

View File

@@ -56,3 +56,4 @@ BLO_deflate(
#endif
#endif /* BLO_DEFLATE_H */

View File

@@ -48,3 +48,4 @@ BLO_encrypt(
#endif
#endif /* BLO_ENCRYPT_H */

View File

@@ -477,3 +477,4 @@ void IMB_freezbufImBuf(struct ImBuf * ibuf);
void IMB_rectfill(unsigned int *drect, unsigned int *srect, int x, int value);
#endif

View File

@@ -49,3 +49,4 @@ void imb_freeplanesImBuf(struct ImBuf *ibuf);
short imb_addcmapImBuf(struct ImBuf *ibuf);
#endif

View File

@@ -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