diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-10-03 17:15:34 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-10-03 17:15:34 +0000 |
commit | 6af1bae3aa930ec70d495ddd644c00bce14eb3fb (patch) | |
tree | fd572a8c664e347eb9565c301c20a85c5755db12 /src/sort.c | |
parent | f2dc8bbfc49d98835db4b767ac0ae3265f592000 (diff) |
replaced &s_ with gensym()
svn path=/trunk/externals/zexy/; revision=15490
Diffstat (limited to 'src/sort.c')
-rw-r--r-- | src/sort.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -106,13 +106,13 @@ static void sort_list(t_sort *x, t_symbol *s, int argc, t_atom *argv) else for (n = 0, i=argc-1; n < argc; n++, i--) SETFLOAT(&atombuf[n], idx[i]); - outlet_list(x->indexOut , &s_list, n, atombuf); + outlet_list(x->indexOut , gensym("list"), n, atombuf); if (x->ascending) for (n = 0; n < argc; n++) SETFLOAT(&atombuf[n], buf[n]); else for (n = 0, i=argc-1; n < argc; n++, i--) SETFLOAT(&atombuf[n], buf[i]); - outlet_list(x->sortedOut, &s_list, n, atombuf); + outlet_list(x->sortedOut, gensym("list"), n, atombuf); freebytes(atombuf, argc*sizeof(t_atom)); @@ -123,13 +123,13 @@ static void *sort_new(t_floatarg f) t_sort *x = (t_sort *)pd_new(sort_class); x->ascending = (f < 0.f)?0:1; - x->sortedOut=outlet_new(&x->x_obj, &s_list); - x->indexOut=outlet_new(&x->x_obj, &s_list); + x->sortedOut=outlet_new(&x->x_obj, gensym("list")); + x->indexOut=outlet_new(&x->x_obj, gensym("list")); x->bufsize = 0; x->buffer = NULL; - inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("direction")); + inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("direction")); return (x); } |