aboutsummaryrefslogtreecommitdiff
path: root/shared/unstable/forky.c
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-12-10 20:47:06 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-12-10 20:47:06 +0000
commit5af9cc14b70f907f0d10a75aa28ad04bbd65ec0d (patch)
treeeaa75a18523d97c6e47c8ccec59365948b0082f7 /shared/unstable/forky.c
parent155fa2c04c7e415803e1546dcde0a47442eef4b3 (diff)
restricted debug garbage to krzYszcz, few fixes in toxy
svn path=/trunk/externals/miXed/; revision=2364
Diffstat (limited to 'shared/unstable/forky.c')
-rw-r--r--shared/unstable/forky.c6
1 files changed, 4 insertions, 2 deletions
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)");