aboutsummaryrefslogtreecommitdiff
path: root/tcl_proxyinlet.cxx
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2009-08-30 23:56:11 +0000
committermescalinum <mescalinum@users.sourceforge.net>2009-08-30 23:56:11 +0000
commitd076e9fe58703eefb5f6ac1ba1366b09e273a113 (patch)
treeb6210bcd2c1a369b6e128e14c4e4d1f4c32f34dc /tcl_proxyinlet.cxx
parentc167e87a54010687abfdc2d5b09862cce3f0387b (diff)
remove proxyinlet_list method: as matju suggested it introduces irregularity in message processing and it's potentially harmful
svn path=/trunk/externals/tclpd/; revision=12152
Diffstat (limited to 'tcl_proxyinlet.cxx')
-rw-r--r--tcl_proxyinlet.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/tcl_proxyinlet.cxx b/tcl_proxyinlet.cxx
index de97ec0..c7504c5 100644
--- a/tcl_proxyinlet.cxx
+++ b/tcl_proxyinlet.cxx
@@ -16,24 +16,6 @@ void proxyinlet_clear(t_proxyinlet* x) {
}
}
-void proxyinlet_list(t_proxyinlet* x, t_symbol* s, int argc, t_atom* argv) {
- proxyinlet_clear(x);
-
- if(!(x->argv = (t_atom*)getbytes(argc * sizeof(*x->argv)))) {
- x->argc = 0;
- error("proxyinlet: getbytes: out of memory");
- return;
- }
-
- x->argc = argc;
- int i;
- for(i = 0; i < argc; i++) {
- x->argv[i] = argv[i];
- }
-
- proxyinlet_trigger(x);
-}
-
void proxyinlet_anything(t_proxyinlet* x, t_symbol* s, int argc, t_atom* argv) {
proxyinlet_clear(x);
@@ -84,6 +66,5 @@ void proxyinlet_clone(t_proxyinlet* x, t_proxyinlet* y) {
void proxyinlet_setup(void) {
proxyinlet_class = class_new(gensym("tclpd proxyinlet"),
0, 0, sizeof(t_proxyinlet), 0, A_NULL);
- class_addlist(proxyinlet_class, proxyinlet_list);
class_addanything(proxyinlet_class, proxyinlet_anything);
}