From e97111ee9c743dbb05f0aeca799594b5c451c66f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 30 Jan 2012 03:38:27 +0000 Subject: post version message using verbose(0) svn path=/trunk/externals/hcs/; revision=15916 --- stat.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'stat.c') diff --git a/stat.c b/stat.c index 8648637..811de38 100644 --- a/stat.c +++ b/stat.c @@ -40,8 +40,6 @@ static char *version = "$Revision: 1.5 $"; -t_int stat_instance_count; - #define DEBUG(x) //#define DEBUG(x) x @@ -264,15 +262,6 @@ static void *stat_new(t_symbol *s) t_stat *x = (t_stat *)pd_new(stat_class); - if(!stat_instance_count) - { - post("[stat] %s",version); - post("\twritten by Hans-Christoph Steiner "); - post("\tcompiled on "__DATE__" at "__TIME__ " "); - } - stat_instance_count++; - - symbolinlet_new(&x->x_obj, &x->x_filename); x->x_data_outlet = outlet_new(&x->x_obj, 0); x->x_status_outlet = outlet_new(&x->x_obj, 0); @@ -308,5 +297,8 @@ void stat_setup(void) /* add inlet message methods */ class_addmethod(stat_class,(t_method) stat_set,gensym("set"), A_DEFSYM, 0); + verbose(0, "[stat] %s",version); + verbose(0, "\twritten by Hans-Christoph Steiner "); + verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); } -- cgit v1.2.1