aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-21 09:15:20 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-21 09:15:20 +0000
commitc1d165ffadfd5b254f5b2c8132ca008f7746da14 (patch)
tree08747b3c05111ab4f8b0f96b67a6fd058206714d /src/index.c
parentaaa2e8470af5e67e13508f89b890823c1d4ae734 (diff)
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
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}