From d9cbafdcc2cc8753036a5674570dd6b0b55bf62a Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 16 Sep 2003 11:02:21 +0000 Subject: *** empty log message *** svn path=/trunk/externals/miXed/; revision=977 --- shared/unstable/forky.c | 11 ++++++++--- shared/unstable/forky.h | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'shared') diff --git a/shared/unstable/forky.c b/shared/unstable/forky.c index be4dced..100f0af 100644 --- a/shared/unstable/forky.c +++ b/shared/unstable/forky.c @@ -10,6 +10,11 @@ #if FORKY_VERSION < 37 /* need this for t_class::c_wb field access */ #include "unstable/pd_imp.h" + +t_pd *pd_newest(void) +{ + return (0); +} #endif #define FORKY_DEBUG @@ -27,10 +32,10 @@ void forky_setsavefn(t_class *c, t_forkysavefn fn) post("cloning widgetbehavior..."); #endif *wb = *c->c_wb; - wb->w_savefn = sf; + wb->w_savefn = fn; class_setwidget(c, wb); } - else c->c_wb->w_savefn = sf; + else c->c_wb->w_savefn = fn; #endif } @@ -42,7 +47,7 @@ void forky_setpropertiesfn(t_class *c, t_forkypropertiesfn fn) /* assuming wb has already been either cloned (in forky_setsavefn), or defined from scratch -- it is unlikely to ever need props without a specialized save (always be sure to set props after save, though). */ - c->c_wb->w_propertiesfn = pf; + c->c_wb->w_propertiesfn = fn; #endif } diff --git a/shared/unstable/forky.h b/shared/unstable/forky.h index cd0dbd8..a32f8d6 100644 --- a/shared/unstable/forky.h +++ b/shared/unstable/forky.h @@ -17,6 +17,7 @@ #define FORKY_WIDGETPADDING #else #define FORKY_WIDGETPADDING 0,0 +t_pd *pd_newest(void); #endif typedef void (*t_forkysavefn)(t_gobj *x, t_binbuf *bb); -- cgit v1.2.1