aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2007-03-18 10:45:23 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2007-03-18 10:45:23 +0000
commitdfeb8924a46b604f769dfe591ce7f51505db4ee3 (patch)
tree4afae68d40d8ac73daee81d484848e2d530ed8ad
parentd9e432300da1cdef4cf2c3d7a88bcb592287c508 (diff)
fix to make for++ work in pd-extended
svn path=/trunk/externals/iemlib/; revision=7503
-rw-r--r--iemlib1/src/for++.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iemlib1/src/for++.c b/iemlib1/src/for++.c
index 904d81f..76daecc 100644
--- a/iemlib1/src/for++.c
+++ b/iemlib1/src/for++.c
@@ -174,6 +174,8 @@ void forpp_setup(void)
forpp_class = class_new(gensym("for++"), (t_newmethod)forpp_new,
(t_method)forpp_ff, sizeof(t_forpp),
0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
+ class_addcreator((t_newmethod)forpp_new, gensym("for_pp"), A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
+
class_addbang(forpp_class, forpp_bang);
class_addfloat(forpp_class, forpp_float);
class_addlist(forpp_class, forpp_list);