From 761af5cdd6f924577f0fc6af351039d2c35dcb7b Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Fri, 23 Oct 2009 13:46:24 +0000 Subject: Modified paramRoutes behavior with a bad message svn path=/trunk/externals/tof/; revision=12651 --- src/param.c | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'src/param.c') diff --git a/src/param.c b/src/param.c index 2eaf4e1..88fbb91 100644 --- a/src/param.c +++ b/src/param.c @@ -300,6 +300,9 @@ static void* paramClass_new(t_symbol *s, int ac, t_atom *av) inlet_new((t_object *)x, (t_pd *)p, 0, 0); x->outlet = outlet_new(&x->x_obj, &s_list); + + + return (x); } @@ -352,24 +355,6 @@ static void* param_new(t_symbol *s, int argc, t_atom *argv) { void param_setup(void) { - - /* - alist_setup(); - list_append_setup(); - list_prepend_setup(); - list_split_setup(); - list_trim_setup(); - list_length_setup(); - class_addcreator((t_newmethod)list_new, &s_list, A_GIMME, 0); - */ - - /* - - - - */ - ///////////// - // SETUP THE PARAM CLASS param_class = class_new(gensym("param /"), @@ -387,6 +372,7 @@ void param_setup(void) class_addanything(param_inlet2_class, paramClass_inlet2_anything); + class_sethelpsymbol(param_class,gensym("param")); // SETUP OTHER CLASSES paramCustom_setup(); @@ -401,4 +387,6 @@ void param_setup(void) class_addcreator((t_newmethod)param_new, gensym("param"), A_GIMME, 0); class_addcreator((t_newmethod)param_new, gensym("tof/param"), A_GIMME, 0); + + } -- cgit v1.2.1