aboutsummaryrefslogtreecommitdiff
path: root/shared/unstable/forky.h
blob: df276908cbdeb6373893516d9731766faee737ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Copyright (c) 2003 krzYszcz and others.
 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
 * WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

#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);

#endif