diff options
Diffstat (limited to 'cyclone/hammer/Peak.c')
-rw-r--r-- | cyclone/hammer/Peak.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/hammer/Peak.c b/cyclone/hammer/Peak.c index 6f7e30c..93ccd6a 100644 --- a/cyclone/hammer/Peak.c +++ b/cyclone/hammer/Peak.c @@ -56,8 +56,14 @@ void Peak_setup(void) Peak_class = class_new(gensym("Peak"), (t_newmethod)Peak_new, 0, sizeof(t_Peak), 0, 0); + class_addcreator((t_newmethod)Peak_new, gensym("peak"), 0, 0); class_addbang(Peak_class, Peak_bang); class_addfloat(Peak_class, Peak_float); class_addmethod(Peak_class, (t_method)Peak_ft1, gensym("ft1"), A_FLOAT, 0); } + +void peak_setup(void) +{ + Peak_setup(); +} |