diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2004-12-10 20:47:06 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2004-12-10 20:47:06 +0000 |
commit | 5af9cc14b70f907f0d10a75aa28ad04bbd65ec0d (patch) | |
tree | eaa75a18523d97c6e47c8ccec59365948b0082f7 /shared/unstable | |
parent | 155fa2c04c7e415803e1546dcde0a47442eef4b3 (diff) |
restricted debug garbage to krzYszcz, few fixes in toxy
svn path=/trunk/externals/miXed/; revision=2364
Diffstat (limited to 'shared/unstable')
-rw-r--r-- | shared/unstable/forky.c | 6 | ||||
-rw-r--r-- | shared/unstable/fringe.c | 6 |
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); |