Update of /cvsroot/pure-data/externals/tb/detach In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13767
Modified Files: detach.c Log Message: adapted for updated fifo implementation
Index: detach.c =================================================================== RCS file: /cvsroot/pure-data/externals/tb/detach/detach.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** detach.c 6 Jan 2005 17:00:45 -0000 1.2 --- detach.c 9 Jun 2005 12:48:20 -0000 1.3 *************** *** 46,49 **** --- 46,50 ---- typedef struct _detach_content { + struct _detach_content_t * next; enum { BANG, POINTER, *************** *** 55,58 **** --- 56,60 ---- int argc; t_atom * argv; + t_symbol * symbol; } detach_content_t;
*************** *** 86,90 **** break; case ANYTHING: ! outlet_anything(x->x_outlet, 0, me->argc, me->argv); freebytes(me->argv, me->argc * sizeof(t_atom)); break; --- 88,92 ---- break; case ANYTHING: ! outlet_anything(x->x_outlet, me->symbol, me->argc, me->argv); freebytes(me->argv, me->argc * sizeof(t_atom)); break; *************** *** 233,236 **** --- 235,239 ---- me->argc = argc; me->argv = copybytes(argv, argc * sizeof(t_atom)); + me->symbol = s; fifo_put(x->x_fifo, me);