[PD-cvs] pd/src desire.c,1.1.2.217.2.84,1.1.2.217.2.85

Mathieu Bouchard matju at users.sourceforge.net
Wed Dec 20 03:45:20 CET 2006


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

Modified Files:
      Tag: desiredata
	desire.c 
Log Message:
added with_reply to [canvasmaker]


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.84
retrieving revision 1.1.2.217.2.85
diff -C2 -d -r1.1.2.217.2.84 -r1.1.2.217.2.85
*** desire.c	19 Dec 2006 23:14:22 -0000	1.1.2.217.2.84
--- desire.c	20 Dec 2006 02:45:16 -0000	1.1.2.217.2.85
***************
*** 286,290 ****
  	self->serial = serial;
  	self->answer = answer;
- 	fprintf(stderr,"reply_new %ld x%lx\n",(long)self->serial,(long)self->answer);
  	return self;
  }
--- 286,289 ----
***************
*** 7419,7423 ****
  /* end miller 0.40 */
  
! static void canvas_with_reply (t_canvas *x, t_symbol *s, int argc, t_atom *argv) {
  	if (!( argc>=2 && IS_A_FLOAT(argv,0) && IS_A_SYMBOL(argv,1) )) return;
  	pd_typedmess(x,atom_getsymbol(&argv[1]),argc-2,argv+2);
--- 7418,7422 ----
  /* end miller 0.40 */
  
! static void canvas_with_reply (t_pd *x, t_symbol *s, int argc, t_atom *argv) {
  	if (!( argc>=2 && IS_A_FLOAT(argv,0) && IS_A_SYMBOL(argv,1) )) return;
  	pd_typedmess(x,atom_getsymbol(&argv[1]),argc-2,argv+2);
***************
*** 7498,7501 ****
--- 7497,7501 ----
      class_addmethod3(c,canvas_text_setto,"text_setto","*");
      class_addmethod3(c,canvas_with_reply,"with_reply","*");
+     class_addmethod3(pd_canvasmaker._class,canvas_with_reply,"with_reply","*");
      class_setnotice(c, canvas_notice);
  }





More information about the Pd-cvs mailing list