blob: 9e9e1b42083fda30a85c6ed23354c4502f0808cd (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/******************************************************
*
* dmxin - implementation file
*
* copyleft (c) IOhannes m zmölnig
*
* 0603:forum::für::umläute:2008
*
* institute of electronic music and acoustics (iem)
*
******************************************************
*
* license: GNU General Public License v.2
*
******************************************************/
#include "dmx4pd.h"
static t_class *dmxin_class;
typedef struct _dmxin
{
t_object x_obj;
} t_dmxin;
static void *dmxin_new(void)
{
t_dmxin *x = (t_dmxin *)pd_new(dmxin_class);
return (x);
}
static void *dmxin_free(t_dmxin*x)
{
}
void dmxin_setup(void)
{
dmxin_class = class_new(gensym("dmxin"), (t_newmethod)dmxin_new, (t_method)dmxin_free,
sizeof(t_dmxin),
CLASS_NOINLET,
A_NULL);
#ifdef DMX4PD_POSTBANNER
DMX4PD_POSTBANNER
#endif
}
|