aboutsummaryrefslogtreecommitdiff
path: root/classpath.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 03:38:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 03:38:27 +0000
commite97111ee9c743dbb05f0aeca799594b5c451c66f (patch)
tree2d3ae6a2c333e52b9b43a8c9e791634796074e6a /classpath.c
parentc44efa4f5c0ce85007d19eaa31a17e0281a9b3be (diff)
post version message using verbose(0)
svn path=/trunk/externals/hcs/; revision=15916
Diffstat (limited to 'classpath.c')
-rw-r--r--classpath.c18
1 files changed, 6 insertions, 12 deletions
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 <hans@eds.org>");
- 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 <hans@eds.org>");
+ 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);
}