diff options
Diffstat (limited to 'cyclone/hammer/Bucket.c')
-rw-r--r-- | cyclone/hammer/Bucket.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/hammer/Bucket.c b/cyclone/hammer/Bucket.c index 036f836..e3de658 100644 --- a/cyclone/hammer/Bucket.c +++ b/cyclone/hammer/Bucket.c @@ -121,6 +121,7 @@ void Bucket_setup(void) (t_newmethod)Bucket_new, (t_method)Bucket_free, sizeof(t_Bucket), 0, A_DEFFLOAT, 0); + class_addcreator((t_newmethod)Bucket_new, gensym("bucket"), A_DEFFLOAT, 0); class_addbang(Bucket_class, Bucket_bang); class_addfloat(Bucket_class, Bucket_float); class_addmethod(Bucket_class, (t_method)Bucket_freeze, gensym("freeze"), 0); @@ -135,3 +136,8 @@ void Bucket_setup(void) class_addmethod(Bucket_class, (t_method)Bucket_ltor, gensym("l2r"), 0); class_addmethod(Bucket_class, (t_method)Bucket_rtol, gensym("r2l"), 0); } + +void bucket_setup(void) +{ + Bucket_setup(); +} |