aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/Trough.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer/Trough.c')
-rw-r--r--cyclone/hammer/Trough.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/hammer/Trough.c b/cyclone/hammer/Trough.c
index 27b19ba..4100688 100644
--- a/cyclone/hammer/Trough.c
+++ b/cyclone/hammer/Trough.c
@@ -56,8 +56,14 @@ void Trough_setup(void)
Trough_class = class_new(gensym("Trough"),
(t_newmethod)Trough_new, 0,
sizeof(t_Trough), 0, 0);
+ class_addcreator((t_newmethod)Trough_new, gensym("trough"), 0, 0);
class_addbang(Trough_class, Trough_bang);
class_addfloat(Trough_class, Trough_float);
class_addmethod(Trough_class, (t_method)Trough_ft1,
gensym("ft1"), A_FLOAT, 0);
}
+
+void trough_setup(void)
+{
+ Trough_setup();
+}