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/paramFile.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/paramFile.h') diff --git a/src/paramFile.h b/src/paramFile.h index a835df6..42d568b 100644 --- a/src/paramFile.h +++ b/src/paramFile.h @@ -246,7 +246,7 @@ static void* paramFile_new(t_symbol *s, int ac, t_atom *av) { void paramFile_setup(void) { - paramFile_class = class_new(gensym("paramFile"), + paramFile_class = class_new(gensym("param file"), (t_newmethod)paramFile_new, (t_method)paramFile_free, sizeof(t_paramFile), 0, A_GIMME, 0); @@ -259,6 +259,8 @@ void paramFile_setup(void) { class_addbang(paramFile_inlet2_class, paramFile_inlet2_bang); class_addfloat(paramFile_inlet2_class, paramFile_inlet2_float); + class_sethelpsymbol(paramFile_class,gensym("param")); + //class_addmethod(paramFile_class, (t_method) paramFile_load, gensym("load"), A_DEFFLOAT,0); //class_addmethod(paramFile_class, (t_method) paramFile_float, gensym("save"), A_DEFFLOAT,0); -- cgit v1.2.1