aboutsummaryrefslogtreecommitdiff
path: root/src/ann_som.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-19 14:07:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-19 14:07:23 +0000
commite5ec4c7486a51d35050466f2234102cb57f9cce5 (patch)
treefaa0628884c0451ac5b7d43c78c04b6f9776a2db /src/ann_som.c
parentd0caa75bcc981df942b506e011021c8134383d4b (diff)
shut down the compiler...
svn path=/trunk/externals/ann/; revision=3028
Diffstat (limited to 'src/ann_som.c')
-rw-r--r--src/ann_som.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ann_som.c b/src/ann_som.c
index f1da9fc..65a8682 100644
--- a/src/ann_som.c
+++ b/src/ann_som.c
@@ -329,9 +329,6 @@ static void som_dump(t_som *x, t_float nf){
outlet_list(x->x_obj.ob_outlet, &s_list, x->num_sensors, ap);
freebytes(ap, x->num_sensors*sizeof(t_atom));
-
-
-
}
static void som_makenewsom(t_som *x, t_symbol *s, int argc, t_atom *argv)
@@ -757,6 +754,8 @@ static void som_setup(void)
class_addmethod(som_class, (t_method)som_read, gensym("read"), A_GIMME, 0);
class_addmethod(som_class, (t_method)som_write, gensym("write"), A_GIMME, 0);
+ class_addmethod(som_class, (t_method)som_dump, gensym("dump"), A_FLOAT, 0);
+
class_addmethod(som_class, (t_method)som_print, gensym("print"), 0);
class_addmethod(som_class, (t_method)som_help, gensym("help"), 0);
class_sethelpsymbol(som_class, gensym("som"));