1 --- x_interface.c 2007/11/25 03:31:05 1.3.6.1
2 +++ x_interface.c 2007/12/04 21:54:46 1.3.6.3
5 static void *print_new(t_symbol *s, int argc, t_atom *argv)
9 t_print *x = (t_print *)pd_new(print_class);
10 - x->x_sym = atom_getsymbolarg(0,argc,argv);
11 - if (x->x_sym == &s_)
12 - x->x_sym = atom_getfloatarg(0,argc,argv);
13 - if (*s->s_name) x->x_sym = s;
14 - else x->x_sym = gensym("print");
17 + t_binbuf *bb = binbuf_new();
18 + binbuf_add(bb, argc, argv);
19 + binbuf_gettext(bb, &buf, &bufsize);
21 + x->x_sym = gensym(buf);
26 + x->x_sym = gensym("print");