diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2003-09-19 12:19:32 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2003-09-19 12:19:32 +0000 |
commit | edab184352cd14788a37c76dce147ac19f7464b4 (patch) | |
tree | 25436b1653813a1fa1e010711f8dd48be9d549a4 /shared/unstable/forky.c | |
parent | d9cbafdcc2cc8753036a5674570dd6b0b55bf62a (diff) |
*** empty log message ***
svn path=/trunk/externals/miXed/; revision=1011
Diffstat (limited to 'shared/unstable/forky.c')
-rw-r--r-- | shared/unstable/forky.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/shared/unstable/forky.c b/shared/unstable/forky.c index 100f0af..2e17253 100644 --- a/shared/unstable/forky.c +++ b/shared/unstable/forky.c @@ -2,6 +2,8 @@ * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ +/* Put here compilation conditionals supporting older Pd versions. */ + #include "m_pd.h" #include "g_canvas.h" #include "shared.h" @@ -10,14 +12,19 @@ #if FORKY_VERSION < 37 /* need this for t_class::c_wb field access */ #include "unstable/pd_imp.h" +#endif -t_pd *pd_newest(void) +//#define FORKY_DEBUG + +t_pd *forky_newobject(t_symbol *s, int ac, t_atom *av) { +#if FORKY_VERSION >= 37 + typedmess(&pd_objectmaker, s, ac, av); + return (pd_newest()); +#else return (0); -} #endif - -#define FORKY_DEBUG +} void forky_setsavefn(t_class *c, t_forkysavefn fn) { |