aboutsummaryrefslogtreecommitdiff
path: root/shared/unstable/forky.h
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2003-09-05 10:03:46 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2003-09-05 10:03:46 +0000
commit53f05d96ff8e49c87977fa91a06ebade8893606e (patch)
tree51bd07eb57c532e61515fb85a0fcd83698054854 /shared/unstable/forky.h
parent672477f94d2d0701f75f2546ad79980dc9ac8543 (diff)
*** empty log message ***
svn path=/trunk/externals/miXed/; revision=931
Diffstat (limited to 'shared/unstable/forky.h')
-rw-r--r--shared/unstable/forky.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/shared/unstable/forky.h b/shared/unstable/forky.h
index 0d27080..df27690 100644
--- a/shared/unstable/forky.h
+++ b/shared/unstable/forky.h
@@ -5,6 +5,23 @@
#ifndef __FORKY_H__
#define __FORKY_H__
+#ifdef PD_MINOR_VERSION
+#define FORKY_VERSION PD_MINOR_VERSION
+#elif defined(PD_VERSION)
+#define FORKY_VERSION 36
+#else
+#define FORKY_VERSION 35
+#endif
+
+#if FORKY_VERSION >= 37
+#define FORKY_WIDGETPADDING
+#else
+#define FORKY_WIDGETPADDING 0,0
+#endif
+
+typedef void (*t_forkysavefn)(t_gobj *x, t_binbuf *b);
+
+void forky_setsavefn(t_class *c, t_forkysavefn fn);
int forky_hasfeeders(t_object *x, t_glist *glist, int inno, t_symbol *outsym);
t_int forky_getbitmask(int ac, t_atom *av);