Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23012
Modified Files: Tag: desiredata desire.c Log Message: more t_boxes
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.224 retrieving revision 1.1.2.217.2.225 diff -C2 -d -r1.1.2.217.2.224 -r1.1.2.217.2.225 *** desire.c 18 Aug 2007 05:34:30 -0000 1.1.2.217.2.224 --- desire.c 18 Aug 2007 05:52:10 -0000 1.1.2.217.2.225 *************** *** 111,115 **** return r; } ! t_gobj *next(t_gobj *x) {return x->g_next;} void add(t_gobj *x) { /* the key is x->index, the value is x */ post("t_boxes add %lx",x->dix->index); --- 111,121 ---- return r; } ! t_gobj *next(t_gobj *x) { ! M::iterator iter = map.begin(); ! while (iter->second != x) iter++; ! iter++; ! if (iter->second != x->g_next) post("list next=%p, map next=%p",iter->second,x->g_next); ! return x->g_next; ! } void add(t_gobj *x) { /* the key is x->index, the value is x */ post("t_boxes add %lx",x->dix->index);