diff options
-rw-r--r-- | help/vvminus-help.pd (renamed from help/vv--help.pd) | 0 | ||||
-rw-r--r-- | help/vvplus-help.pd (renamed from help/vv+-help.pd) | 0 | ||||
-rw-r--r-- | source/vvminus.c | 3 | ||||
-rw-r--r-- | source/vvplus.c | 3 |
4 files changed, 4 insertions, 2 deletions
diff --git a/help/vv--help.pd b/help/vvminus-help.pd index 48c626b..48c626b 100644 --- a/help/vv--help.pd +++ b/help/vvminus-help.pd diff --git a/help/vv+-help.pd b/help/vvplus-help.pd index 04c3065..04c3065 100644 --- a/help/vv+-help.pd +++ b/help/vvplus-help.pd diff --git a/source/vvminus.c b/source/vvminus.c index b6a8e1a..b8b7246 100644 --- a/source/vvminus.c +++ b/source/vvminus.c @@ -131,8 +131,9 @@ static void *vvminus_new(t_symbol *s, int argc, t_atom *argv) void vvminus_setup(void)
{
- vvminus_class = class_new(gensym("vv-"), (t_newmethod)vvminus_new,
+ vvminus_class = class_new(gensym("vvminus"), (t_newmethod)vvminus_new,
(t_method)vvminus_free, sizeof(t_vvminus), 0, A_GIMME, 0);
+ class_addcreator((t_newmethod)vvplus_new, gensym("vv-"), A_GIMME, 0);
class_addlist(vvminus_class, vvminus_lst);
class_addmethod (vvminus_class, (t_method)vvminus_lst2, gensym(""), A_GIMME, 0);
vvminus_scal_class = class_new(gensym("vv-"), 0, (t_method)vvminus_free,
diff --git a/source/vvplus.c b/source/vvplus.c index e2b323c..a49ce39 100644 --- a/source/vvplus.c +++ b/source/vvplus.c @@ -131,8 +131,9 @@ static void *vvplus_new(t_symbol *s, int argc, t_atom *argv) void vvplus_setup(void)
{
- vvplus_class = class_new(gensym("vv+"), (t_newmethod)vvplus_new,
+ vvplus_class = class_new(gensym("vvplus"), (t_newmethod)vvplus_new,
(t_method)vvplus_free, sizeof(t_vvplus), 0, A_GIMME, 0);
+ class_addcreator((t_newmethod)vvplus_new, gensym("vv+"), A_GIMME, 0);
class_addlist(vvplus_class, vvplus_lst);
class_addmethod (vvplus_class, (t_method)vvplus_lst2, gensym(""), A_GIMME, 0);
vvplus_scal_class = class_new(gensym("vv+"), 0, (t_method)vvplus_free,
|