Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11786
Modified Files: Tag: devel_0_39 desire.c desire.h Log Message: all warnings gone
Index: desire.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.h,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** desire.h 24 Sep 2005 03:11:05 -0000 1.1.2.3 --- desire.h 24 Sep 2005 03:54:21 -0000 1.1.2.4 *************** *** 645,649 **** //EXTERN int pd_scanargs(int argc, t_atom *argv, char *format, ...); EXTERN void pd_upload(t_gobj *self); ! EXTERN void sys_mgui(t_gobj *self, const char *sel, const char *fmt, ...); EXTERN void iemgui_propertiesfn(t_gobj *x, t_glist *owner); EXTERN t_symbol *s_empty; --- 645,649 ---- //EXTERN int pd_scanargs(int argc, t_atom *argv, char *format, ...); EXTERN void pd_upload(t_gobj *self); ! EXTERN void sys_mgui(void *self, const char *sel, const char *fmt, ...); EXTERN void iemgui_propertiesfn(t_gobj *x, t_glist *owner); EXTERN t_symbol *s_empty;
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.26 retrieving revision 1.1.2.27 diff -C2 -d -r1.1.2.26 -r1.1.2.27 *** desire.c 24 Sep 2005 03:11:05 -0000 1.1.2.26 --- desire.c 24 Sep 2005 03:54:20 -0000 1.1.2.27 *************** *** 80,92 ****
/* ------------------ forward function declarations --------------- */ static void canvas_start_dsp(void); static void canvas_stop_dsp(void); - static void canvas_drawlines(t_canvas *x); - static void canvas_setbounds(t_canvas *x, int x1, int y1, int x2, int y2); - static void canvas_reflecttitle(t_canvas *x); static void canvas_addtolist(t_canvas *x); static void canvas_takeofflist(t_canvas *x); static void canvas_pop(t_canvas *x, t_floatarg fvis); [...1287 lines suppressed...] --- 11587,11591 ---- t_text *x = (t_text *)pd_new(text_class); t_atom at; ! sys_vgui("global _; set _(%lx:canvas) %lx\n",(long)x,(long)gl); x->te_width = 0; x->te_type = T_TEXT; *************** *** 12491,12495 **** }
! void sys_mgui(t_gobj *self, const char *sel, const char *fmt, ...) { char buf[4096]; int i=0, n=sizeof(buf); --- 12465,12470 ---- }
! void sys_mgui(void *self_, const char *sel, const char *fmt, ...) { ! t_gobj *self = (t_gobj *)self_; char buf[4096]; int i=0, n=sizeof(buf);