[PD-cvs] pd/src desire.c,1.1.2.87,1.1.2.88

Mathieu Bouchard matju at users.sourceforge.net
Sun Jul 2 04:07:13 CEST 2006


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

Modified Files:
      Tag: devel_0_39
	desire.c 
Log Message:
#V now works with objects.


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.87
retrieving revision 1.1.2.88
diff -C2 -d -r1.1.2.87 -r1.1.2.88
*** desire.c	2 Jul 2006 01:36:14 -0000	1.1.2.87
--- desire.c	2 Jul 2006 02:07:09 -0000	1.1.2.88
***************
*** 70,73 ****
--- 70,74 ----
  void appendix_save (t_gobj *master, t_binbuf *b) {
  	t_hash *h = master->g_adix->visual;
+ 	fprintf(stderr,"appendix_save %p size=%d\n",master,hash_size(h));
  	if (hash_size(h)) {
  	    hashkey k;
***************
*** 11267,11270 ****
--- 11268,11272 ----
  
  void text_save(t_gobj *z, t_binbuf *b) {
+     fprintf(stderr,"text_save %p\n",z);
      t_text *x = (t_text *)z;
      if (x->te_type == T_OBJECT) {
***************
*** 12764,12769 ****
  	if (argv[0].a_type != A_SYMBOL) {post("#V's messages must take a symbol arg"); return;}
  	v = atom_getsymbolarg(0, argc, argv);
! 	post("#V got message '%s' with $1='%s' and g_adix=%p",s->s_name,v->s_name,self->g_adix);
! 	hash_set(self->g_adix->visual,s,v);
  }
  
--- 12766,12772 ----
  	if (argv[0].a_type != A_SYMBOL) {post("#V's messages must take a symbol arg"); return;}
  	v = atom_getsymbolarg(0, argc, argv);
! 	post("#V got message '%s' with $1='%s' and newest=%p",s->s_name,v->s_name,newest);
! 	if (!newest) {post("#V: there is no newest object"); return;}
! 	hash_set(((t_gobj *)newest)->g_adix->visual,s,v);
  }
  





More information about the Pd-cvs mailing list