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 --- classpath.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'classpath.c') diff --git a/classpath.c b/classpath.c index d118c49..aa0cfb3 100644 --- a/classpath.c +++ b/classpath.c @@ -40,8 +40,6 @@ static char *version = "$Revision: 1.3 $"; -t_int classpath_instance_count; - #define DEBUG(x) //#define DEBUG(x) x @@ -103,16 +101,6 @@ static void *classpath_new() DEBUG(post("classpath_new");); t_classpath *x = (t_classpath *)pd_new(classpath_class); - if(!classpath_instance_count) - { - post("[classpath] %s",version); - post("\twritten by Hans-Christoph Steiner "); - post("\tcompiled on "__DATE__" at "__TIME__ " "); - post("\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, - PD_MINOR_VERSION, PD_BUGFIX_VERSION); - } - classpath_instance_count++; - x->x_data_outlet = outlet_new(&x->x_obj, &s_symbol); x->x_status_outlet = outlet_new(&x->x_obj, 0); @@ -144,5 +132,11 @@ void classpath_setup(void) gensym("rewind"), 0); class_addmethod(classpath_class,(t_method) classpath_add,gensym("add"), A_DEFSYMBOL, 0); + + verbose(0, "[classpath] %s",version); + verbose(0, "\twritten by Hans-Christoph Steiner "); + verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); + verbose(0, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, + PD_MINOR_VERSION, PD_BUGFIX_VERSION); } -- cgit v1.2.1