aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/Histo.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer/Histo.c')
-rw-r--r--cyclone/hammer/Histo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/hammer/Histo.c b/cyclone/hammer/Histo.c
index efb0deb..118fc73 100644
--- a/cyclone/hammer/Histo.c
+++ b/cyclone/hammer/Histo.c
@@ -94,6 +94,7 @@ void Histo_setup(void)
(t_newmethod)Histo_new,
(t_method)Histo_free,
sizeof(t_Histo), 0, A_DEFFLOAT, 0);
+ class_addcreator((t_newmethod)Histo_new, gensym("histo"), A_DEFFLOAT, 0);
class_addbang(Histo_class, Histo_bang);
class_addfloat(Histo_class, Histo_float);
class_addmethod(Histo_class, (t_method)Histo_ft1,
@@ -101,3 +102,8 @@ void Histo_setup(void)
class_addmethod(Histo_class, (t_method)Histo_clear,
gensym("clear"), 0);
}
+
+void histo_setup(void)
+{
+ Histo_setup();
+}