From d6e59fc16ef15ae34a23a667c24c524de98d8e25 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 22 Dec 2007 20:28:07 +0000 Subject: got the set_atom function working on the first inlet with symbols, now got to get the rest of the inlets working svn path=/trunk/externals/hcs/; revision=9102 --- sql_query.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql_query.c b/sql_query.c index 56e126a..f051a91 100644 --- a/sql_query.c +++ b/sql_query.c @@ -114,7 +114,7 @@ static void proxy_inlet_setup(void) static void sql_query_set_atom(t_sql_query *x, int atom_num, t_symbol *s, t_atom *a) { DEBUG(post("sql_query_set_atom");); - if( (s == &s_symbol) || (s == &s_list) ) + if( (s == &s_symbol) || (s == &s_list) || (s == &s_float) ) { char buf[MAXPDSTRING]; atom_string(a, &buf, MAXPDSTRING); @@ -123,7 +123,6 @@ static void sql_query_set_atom(t_sql_query *x, int atom_num, t_symbol *s, t_atom } else { - post("blah"); SETSYMBOL(&x->atoms[atom_num], s); post("selector set %s", s->s_name); } -- cgit v1.2.1