diff options
Diffstat (limited to 'cyclone/hammer')
-rw-r--r-- | cyclone/hammer/Append.c | 5 | ||||
-rw-r--r-- | cyclone/hammer/Borax.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Bucket.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Clip.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Decode.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Histo.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/MouseState.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Peak.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/TogEdge.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Trough.c | 6 | ||||
-rw-r--r-- | cyclone/hammer/Uzi.c | 1 |
11 files changed, 60 insertions, 0 deletions
diff --git a/cyclone/hammer/Append.c b/cyclone/hammer/Append.c index 4be4807..e98e614 100644 --- a/cyclone/hammer/Append.c +++ b/cyclone/hammer/Append.c @@ -354,3 +354,8 @@ void Append_setup(void) fitter_setup(append_class, append_fitter); } + +void append_setup(void) +{ + Append_setup(); +} diff --git a/cyclone/hammer/Borax.c b/cyclone/hammer/Borax.c index 26e0ef8..6f4e475 100644 --- a/cyclone/hammer/Borax.c +++ b/cyclone/hammer/Borax.c @@ -166,6 +166,7 @@ void Borax_setup(void) Borax_class = class_new(gensym("Borax"), (t_newmethod)Borax_new, 0, sizeof(t_Borax), 0, 0); + class_addcreator((t_newmethod)Borax_new, gensym("borax"), 0, 0); class_addfloat(Borax_class, Borax_float); /* CHECKME list unfolding */ class_addmethod(Borax_class, (t_method)Borax_ft1, @@ -175,3 +176,8 @@ void Borax_setup(void) class_addmethod(Borax_class, (t_method)Borax_delta, gensym("delta"), 0); } + +void borax_setup(void) +{ + Borax_setup(); +} 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(); +} diff --git a/cyclone/hammer/Clip.c b/cyclone/hammer/Clip.c index a06d3a8..170c014 100644 --- a/cyclone/hammer/Clip.c +++ b/cyclone/hammer/Clip.c @@ -142,8 +142,14 @@ void Clip_setup(void) (t_method)clip_free, sizeof(t_clip), 0, A_GIMME, 0); + class_addcreator((t_newmethod)clip_new, gensym("clip"), A_GIMME, 0); class_addfloat(clip_class, clip_float); class_addlist(clip_class, clip_list); class_addmethod(clip_class, (t_method)clip_set, gensym("set"), A_GIMME, 0); } + +void clip_setup(void) +{ + Clip_setup(); +} 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(); +} 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(); +} diff --git a/cyclone/hammer/MouseState.c b/cyclone/hammer/MouseState.c index 3b831bf..260cde2 100644 --- a/cyclone/hammer/MouseState.c +++ b/cyclone/hammer/MouseState.c @@ -132,6 +132,7 @@ void MouseState_setup(void) (t_newmethod)MouseState_new, (t_method)MouseState_free, sizeof(t_MouseState), 0, 0); + class_addcreator((t_newmethod)MouseState_new, gensym("mousestate"), 0, 0); class_addanything(MouseState_class, MouseState_anything); class_addmethod(MouseState_class, (t_method)MouseState_doup, gensym("_up"), A_FLOAT, 0); @@ -151,3 +152,8 @@ void MouseState_setup(void) class_addmethod(MouseState_class, (t_method)MouseState_reset, gensym("reset"), 0); } + +void mousestate_setup(void) +{ + MouseState_setup(); +} 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(); +} diff --git a/cyclone/hammer/TogEdge.c b/cyclone/hammer/TogEdge.c index 79c26ec..67e4369 100644 --- a/cyclone/hammer/TogEdge.c +++ b/cyclone/hammer/TogEdge.c @@ -66,6 +66,12 @@ void TogEdge_setup(void) TogEdge_class = class_new(gensym("TogEdge"), (t_newmethod)TogEdge_new, 0, sizeof(t_TogEdge), 0, 0); + class_addcreator((t_newmethod)TogEdge_new, gensym("togedge"), 0, 0); class_addbang(TogEdge_class, TogEdge_bang); class_addfloat(TogEdge_class, TogEdge_float); } + +void togedge_setup(void) +{ + TogEdge_setup(); +} 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(); +} diff --git a/cyclone/hammer/Uzi.c b/cyclone/hammer/Uzi.c index c773c6b..ff85368 100644 --- a/cyclone/hammer/Uzi.c +++ b/cyclone/hammer/Uzi.c @@ -99,6 +99,7 @@ void Uzi_setup(void) Uzi_class = class_new(gensym("Uzi"), (t_newmethod)Uzi_new, 0, sizeof(t_Uzi), 0, A_DEFFLOAT, 0); + class_addcreator((t_newmethod)Uzi_new, gensym("uzi"), A_DEFFLOAT, 0); class_addbang(Uzi_class, Uzi_bang); class_addfloat(Uzi_class, Uzi_float); class_addmethod(Uzi_class, (t_method)Uzi_pause, gensym("pause"), 0); |