aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/Decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer/Decode.c')
-rw-r--r--cyclone/hammer/Decode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/hammer/Decode.c b/cyclone/hammer/Decode.c
index 0d62237..d60d6e9 100644
--- a/cyclone/hammer/Decode.c
+++ b/cyclone/hammer/Decode.c
@@ -103,6 +103,7 @@ void Decode_setup(void)
(t_newmethod)Decode_new,
(t_method)Decode_free,
sizeof(t_Decode), 0, A_DEFFLOAT, 0);
+ class_addcreator((t_newmethod)Decode_new, gensym("decode"), A_DEFFLOAT, 0);
class_addfloat(Decode_class, Decode_float);
class_addmethod(Decode_class, (t_method)Decode_allon,
gensym("ft1"), A_FLOAT, 0);
@@ -110,3 +111,8 @@ void Decode_setup(void)
gensym("ft2"), A_FLOAT, 0);
fitter_setup(Decode_class, 0);
}
+
+void decode_setup()
+{
+ Decode_setup();
+}