aboutsummaryrefslogtreecommitdiff
path: root/shared/unstable
diff options
context:
space:
mode:
Diffstat (limited to 'shared/unstable')
-rw-r--r--shared/unstable/forky.c6
-rw-r--r--shared/unstable/fringe.c6
2 files changed, 8 insertions, 4 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)");
diff --git a/shared/unstable/fringe.c b/shared/unstable/fringe.c
index 913d201..2bfe478 100644
--- a/shared/unstable/fringe.c
+++ b/shared/unstable/fringe.c
@@ -9,7 +9,9 @@
#include "unstable/forky.h"
#include "unstable/fringe.h"
+#ifdef KRZYSZCZ
//#define FRINGE_DEBUG
+#endif
static int gobj_getindex(t_glist *gl, t_gobj *ob)
{
@@ -60,7 +62,7 @@ static void gobj_stowconnections(t_glist *gl, t_gobj *ob, t_binbuf *bb)
gobj_getindex(gl, (t_gobj *)lt.tr_ob2), lt.tr_inno);
}
#ifdef FRINGE_DEBUG
- post("packed connections:");
+ fprintf(stderr, "packed connections:\n");
binbuf_print(bb);
#endif
}
@@ -68,7 +70,7 @@ static void gobj_stowconnections(t_glist *gl, t_gobj *ob, t_binbuf *bb)
static void gobj_restoreconnections(t_glist *gl, t_binbuf *bb)
{
#ifdef FRINGE_DEBUG
- post("restoring connections:");
+ fprintf(stderr, "restoring connections:\n");
binbuf_print(bb);
#endif
canvas_setcurrent(gl);