aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2003-06-18 13:55:17 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2003-06-18 13:55:17 +0000
commitbcfa48b87b7656834e1b6f02e174a395f84613a5 (patch)
tree9c340ae393b0b3acf76b71afe47faae4850e5206
parent3b5bf6e92a1e638697666fc51780be05c5c1ab4a (diff)
added a second inlet for setting the range
svn path=/trunk/externals/zexy/; revision=708
-rw-r--r--src/z_wrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/z_wrap.c b/src/z_wrap.c
index ca2e726..80b0fcd 100644
--- a/src/z_wrap.c
+++ b/src/z_wrap.c
@@ -47,6 +47,7 @@ void *wrap_new(t_symbol *s, int argc, t_atom*argv)
wrap_set(x, s, argc, argv);
outlet_new(&x->x_obj, &s_float);
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("set"));
return (void *)x;
}
@@ -59,4 +60,5 @@ void z_wrap_setup(void) {
class_addfloat (wrap_class, wrap_float);
class_addmethod(wrap_class, (t_method)wrap_set, gensym("set"), A_GIMME, 0);
+ class_sethelpsymbol(wrap_class, gensym("zexy/wrap"));
}