[PD-cvs] pd/src desire.c,1.1.2.217.2.66,1.1.2.217.2.67

Mathieu Bouchard matju at users.sourceforge.net
Wed Dec 13 16:58:05 CET 2006


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

Modified Files:
      Tag: desiredata
	desire.c 
Log Message:
wires= is a list of x-objects instead of a list of {from outlet to inlet} index quadruples


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.66
retrieving revision 1.1.2.217.2.67
diff -C2 -d -r1.1.2.217.2.66 -r1.1.2.217.2.67
*** desire.c	13 Dec 2006 07:22:44 -0000	1.1.2.217.2.66
--- desire.c	13 Dec 2006 15:58:00 -0000	1.1.2.217.2.67
***************
*** 1220,1227 ****
  /* ----------------------------- window stuff ----------------------- */
  
- void canvas_print(t_canvas *x, t_symbol *s) {
-     sys_vgui(".x%lx.c postscript -file %s\n", (long)x, *s->s_name ? s->s_name : "x.ps");
- }
- 
  void canvas_close(t_canvas *x) {
      if (x->owner) canvas_vis(x, 0); else pd_free(x);
--- 1220,1223 ----
***************
*** 6547,6553 ****
  		sys_mgui(self,"children=","S",foo);
  		bar=foo; *foo=0;
! 		canvas_wires_each(oc,t,can) bar+=sprintf(bar,"{%ld %ld %ld %ld} ",
! 			(long)canvas_getindex(can,t.from),  (long)t.outlet,
! 			(long)canvas_getindex(can,t.to), (long)t.inlet);
  		sys_mgui(self,"wires=","S",foo);
  		sys_mgui(self,"name=","s",can->name);
--- 6543,6547 ----
  		sys_mgui(self,"children=","S",foo);
  		bar=foo; *foo=0;
! 		canvas_wires_each(oc,t,can) bar+=sprintf(bar,"x%lx ", (long)oc);
  		sys_mgui(self,"wires=","S",foo);
  		sys_mgui(self,"name=","s",can->name);
***************
*** 7474,7478 ****
      class_addmethod3(c,canvas_close,"close","F");
  
-     class_addmethod3(c,canvas_print,    "print","s");
      class_addmethod3(c,canvas_find,     "find","*");
      class_addmethod3(c,canvas_find_again, "findagain","");
--- 7468,7471 ----





More information about the Pd-cvs mailing list