From 5af9cc14b70f907f0d10a75aa28ad04bbd65ec0d Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 10 Dec 2004 20:47:06 +0000 Subject: restricted debug garbage to krzYszcz, few fixes in toxy svn path=/trunk/externals/miXed/; revision=2364 --- shared/unstable/forky.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/unstable/forky.c') diff --git a/shared/unstable/forky.c b/shared/unstable/forky.c index 2e17253..fcdbd61 100644 --- a/shared/unstable/forky.c +++ b/shared/unstable/forky.c @@ -14,7 +14,9 @@ #include "unstable/pd_imp.h" #endif +#ifdef KRZYSZCZ //#define FORKY_DEBUG +#endif t_pd *forky_newobject(t_symbol *s, int ac, t_atom *av) { @@ -36,7 +38,7 @@ void forky_setsavefn(t_class *c, t_forkysavefn fn) /* cloning is necessary, because class_setwidget has not been called */ t_widgetbehavior *wb = getbytes(sizeof(*wb)); /* never freed */ #ifdef FORKY_DEBUG - post("cloning widgetbehavior..."); + fprintf(stderr, "cloning widgetbehavior...\n"); #endif *wb = *c->c_wb; wb->w_savefn = fn; @@ -97,7 +99,7 @@ t_int forky_getbitmask(int ac, t_atom *av) } /* CHECKED missing are zero */ #ifdef FORKY_DEBUG - post("mask set to %.8x", result); + fprintf(stderr, "mask set to %.8x\n", result); #endif } else bug("sizeof(shared_t_bitmask)"); -- cgit v1.2.1