From aa8464ab2cc8c82528b2c2caa92c3fcf184dcb3f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 27 Dec 2007 20:04:30 +0000 Subject: moved proxy_inlet_setup() to the main setup function on mjmogo's suggestion, makes much more sense this way svn path=/trunk/externals/hcs/; revision=9106 --- sql_query.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sql_query.c') diff --git a/sql_query.c b/sql_query.c index 49c7bbe..87c1747 100644 --- a/sql_query.c +++ b/sql_query.c @@ -149,8 +149,6 @@ static void *sql_query_new(t_symbol *s, int argc, t_atom *argv) char *current = NULL; t_sql_query *x = (t_sql_query *)pd_new(sql_query_class); - proxy_inlet_setup(); - x->x_query_binbuf = binbuf_new(); binbuf_add(x->x_query_binbuf, argc, argv); binbuf_gettext(x->x_query_binbuf, &buf, &bufsize); @@ -191,5 +189,8 @@ void sql_query_setup(void) /* add inlet datatype methods */ class_addbang(sql_query_class, (t_method) sql_query_output); class_addanything(sql_query_class, (t_method) sql_query_anything); + + /* set up proxy inlet class */ + proxy_inlet_setup(); } -- cgit v1.2.1