[PD-cvs] pd/src desire.c,1.1.2.217.2.155,1.1.2.217.2.156

Mathieu Bouchard matju at users.sourceforge.net
Sat Jul 14 02:54:55 CEST 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23940

Modified Files:
      Tag: desiredata
	desire.c 
Log Message:
removed duplicate #define L


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.155
retrieving revision 1.1.2.217.2.156
diff -C2 -d -r1.1.2.217.2.155 -r1.1.2.217.2.156
*** desire.c	11 Jul 2007 19:56:52 -0000	1.1.2.217.2.155
--- desire.c	14 Jul 2007 00:54:50 -0000	1.1.2.217.2.156
***************
*** 40,56 ****
  #endif
  
- #ifdef _MSC_VER
- /*
- #define L printf("%s:%d\n",__FILE__,__LINE__);
- #define LS printf("%s:%d (self=%lx\n",__FILE__,__LINE__,(long)self);\
- 	printf("class=%s)\n",((t_gobj *)self)->_class->c_name->name);
- */
- /* no sys_vgui logging for MSVC... we have no vararg macros */
- 
- #else
- #define L printf("%s:%d in %s\n",__FILE__,__LINE__,__PRETTY_FUNCTION__);
- #define LS printf("%s:%d in %s (self=%lx\n",__FILE__,__LINE__,__PRETTY_FUNCTION__,(long)self);\
- 	printf("class=%s)\n",((t_gobj *)self)->_class->c_name->name);
- 
  /*
  #define sys_vgui(args...) do { \
--- 40,43 ----
***************
*** 60,64 ****
  	sys_vgui(args); } while(0)
  */
- #endif
  
  #define canvas_each(CHILD,CANVAS)   for(t_gobj *CHILD=(CANVAS)->list; CHILD; CHILD=CHILD->g_next)
--- 47,50 ----
***************
*** 2137,2141 ****
  /* delete an object from a canvas and free it */
  void canvas_delete(t_canvas *x, t_gobj *y) {
!     t_gotfn chkdsp = zgetfn(y,gensym("dsp"));
      int drawcommand = class_isdrawcommand(y->_class);
      /* if we're a drawing command, erase all scalars now, before deleting
--- 2123,2127 ----
  /* delete an object from a canvas and free it */
  void canvas_delete(t_canvas *x, t_gobj *y) {
!     bool chkdsp = !!zgetfn(y,gensym("dsp"));
      int drawcommand = class_isdrawcommand(y->_class);
      /* if we're a drawing command, erase all scalars now, before deleting
***************
*** 6219,6223 ****
  	i+=snprintf(buf+i,n-i,"\n");
  	if (i>=n) goto over;
- 
  	sys_gui(buf);
  	return;
--- 6205,6208 ----





More information about the Pd-cvs mailing list