diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-26 05:25:47 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-26 05:25:47 +0000 |
commit | 33dad854bedc69c96c041981d55075b6b4aae485 (patch) | |
tree | b78c8d6a339fc2deff7f68452593273e7df4a96c /cyclone/hammer/Peak.c | |
parent | 095e10a6a17420dd31d1f5f592b639f100275057 (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/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(); +} |