From d076e9fe58703eefb5f6ac1ba1366b09e273a113 Mon Sep 17 00:00:00 2001 From: mescalinum Date: Sun, 30 Aug 2009 23:56:11 +0000 Subject: 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 --- tcl_proxyinlet.cxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'tcl_proxyinlet.cxx') 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); } -- cgit v1.2.1