From f6900774ddec90855dd3aaa1b5bf1a6af4b28f21 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 16 Oct 2012 18:57:48 +0000 Subject: make deprecation warning at level 3 and only on setup() svn path=/branches/pd-extended/0.43/externals/oscx/; revision=16401 --- OSC.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OSC.c') diff --git a/OSC.c b/OSC.c index 2070427..f615e85 100644 --- a/OSC.c +++ b/OSC.c @@ -41,7 +41,6 @@ static t_class* OSC_class; static void* OSC_new(t_symbol* s) { t_OSC *x = (t_OSC *)pd_new(OSC_class); - error("OSCx is deprecated! consider switching to mrpeach's osc & net objects"); return (x); } @@ -68,5 +67,5 @@ OSC_API void OSC_setup(void) { post(" S : original code by matt wright, pd hakcs cxc, Win32-port raf@interaccess.com"); post(" C: ver: "VERSION ", compiled: "__DATE__ " -- adapted by piotr@majdak.com"); - error("OSCx is deprecated - ask IOhannes m zmoelnig why..."); + logpost(NULL, 3, "OSCx is deprecated! consider switching to mrpeach's osc & net objects"); } -- cgit v1.2.1