Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23020
Modified Files: Tag: impd_0_37 m_binbuf.c Log Message: can use a pointer in place of a receive-symbol
Index: m_binbuf.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_binbuf.c,v retrieving revision 1.1.1.4.2.4.2.2 retrieving revision 1.1.1.4.2.4.2.3 diff -C2 -d -r1.1.1.4.2.4.2.2 -r1.1.1.4.2.4.2.3 *** m_binbuf.c 1 May 2004 01:44:00 -0000 1.1.1.4.2.4.2.2 --- m_binbuf.c 3 May 2004 15:39:45 -0000 1.1.1.4.2.4.2.3 *************** *** 499,503 **** } else s = atom_getsymbol(at); ! if (!(target = s->s_thing)) { error("%s: no such object", s->s_name); --- 499,508 ---- } else s = atom_getsymbol(at); ! /* IMPD: allows messages to unbound objects, via pointers */ ! target = s->s_thing; ! if (!target) { ! if (!sscanf(s->s_name,"x%x",&target)) target=0; ! } ! if (!target) { error("%s: no such object", s->s_name);