aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/Trough.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-26 05:25:47 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-26 05:25:47 +0000
commit33dad854bedc69c96c041981d55075b6b4aae485 (patch)
treeb78c8d6a339fc2deff7f68452593273e7df4a96c /cyclone/hammer/Trough.c
parent095e10a6a17420dd31d1f5f592b639f100275057 (diff)
added all-lower-case aliases to all objects since Max/MSP 4.6 converted to all lowercase
svn path=/trunk/externals/miXed/; revision=15349
Diffstat (limited to 'cyclone/hammer/Trough.c')
-rw-r--r--cyclone/hammer/Trough.c6
1 files changed, 6 insertions, 0 deletions
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();
+}