aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/Clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer/Clip.c')
-rw-r--r--cyclone/hammer/Clip.c6
1 files changed, 6 insertions, 0 deletions
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();
+}