From c1d165ffadfd5b254f5b2c8132ca008f7746da14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 21 Dec 2005 09:15:20 +0000 Subject: removed C99-define-magic for verbose output: now we just make a static function z_verbose() that calls either verbose() or post() svn path=/trunk/externals/zexy/; revision=4266 --- src/index.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 51d19f4..1e8c5dc 100644 --- a/src/index.c +++ b/src/index.c @@ -148,7 +148,7 @@ static void index_add(t_index *x, t_symbol *s, t_float f) if(newentry>0){ newentry--; if(x->names[newentry]){ /* it is already taken! */ - verbose(1, "index :: couldn't add element '%s' at position %d (already taken)", s->s_name, newentry+1); + z_verbose(1, "index :: couldn't add element '%s' at position %d (already taken)", s->s_name, newentry+1); outlet_float(x->x_obj.ob_outlet, -1.f); return; } @@ -163,7 +163,7 @@ static void index_add(t_index *x, t_symbol *s, t_float f) } else error("index :: couldn't find any place for new entry"); } else error("index :: max number of elements (%d) reached !", x->maxentries); - } else verbose(1, "index :: element '%s' already exists", s->s_name); + } else z_verbose(1, "index :: element '%s' already exists", s->s_name); /* couldn't add the symbol to our index table */ outlet_float(x->x_obj.ob_outlet, -1.f); } @@ -190,7 +190,7 @@ static void index_delete(t_index *x, t_symbol *s, int argc, t_atom*argv) x->entries--; outlet_float(x->x_obj.ob_outlet, 0.0); } else { - verbose(1, "index :: couldn't find element"); + z_verbose(1, "index :: couldn't find element"); outlet_float(x->x_obj.ob_outlet, -1.0); } } -- cgit v1.2.1