From c02fb1011c89b05c3da9d3a7c52ecbc35c35f0a6 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sat, 17 Jan 2009 22:34:28 +0000 Subject: + added [any2bytes], [bytes2any] aliases for [any2string], [string2any] svn path=/trunk/externals/moocow/pdstring/; revision=10573 --- src/any2string.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/any2string.c') diff --git a/src/any2string.c b/src/any2string.c index 2c27ba8..dc73cfb 100644 --- a/src/any2string.c +++ b/src/any2string.c @@ -216,15 +216,18 @@ void any2string_setup_guts(void) CLASS_DEFAULT, A_GIMME, //-- initial_bufsize, eos_char 0); + + //-- alias + class_addcreator((t_newmethod)any2string_new, gensym("any2bytes"), A_GIMME, 0); //-- methods class_addanything(any2string_class, (t_method)any2string_anything); - //-- help symbol //class_sethelpsymbol(any2string_class, gensym("any2string-help.pd")); //-- breaks pd-extended help lookup } + /*-------------------------------------------------------------------- * setup */ -- cgit v1.2.1