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 --- split_path.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'split_path.c') diff --git a/split_path.c b/split_path.c index 2ee125b..1f5b960 100644 --- a/split_path.c +++ b/split_path.c @@ -13,8 +13,6 @@ static char *version = "$Revision: 1.1 $"; -t_int split_path_instance_count; - /* ------------------------ split_path ----------------------------- */ static t_class *split_path_class; @@ -60,12 +58,6 @@ static void *split_path_new() t_split_path *x = (t_split_path *)pd_new(split_path_class); x->x_path_outlet = (t_outlet *)outlet_new(&x->x_obj, &s_symbol); x->x_filename_outlet = (t_outlet *)outlet_new(&x->x_obj, &s_symbol); - if(!split_path_instance_count) - { - post("[split_path] %s",version); - post("\twritten by Hans-Christoph Steiner "); - } - split_path_instance_count++; return (x); } @@ -74,6 +66,8 @@ void split_path_setup(void) split_path_class = class_new(gensym("split_path"), (t_newmethod)split_path_new, 0, sizeof(t_split_path), 0,0); class_addsymbol(split_path_class,split_path_symbol); + verbose(0, "[split_path] %s",version); + verbose(0, "\twritten by Hans-Christoph Steiner "); } -- cgit v1.2.1