1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
187a188,192
> static void send_set(t_send *x, t_symbol *s)
> {
> x->x_sym = s;
> }
>
235a241
> class_addmethod(send_class, (t_method)send_set, gensym("set"), A_SYMBOL, 0);
246a253,259
> static void receive_set(t_receive *x, t_symbol *s)
> {
> pd_unbind(&x->x_obj.ob_pd, x->x_sym);
> x->x_sym = s;
> pd_bind(&x->x_obj.ob_pd, s);
> }
>
294c307
< (t_method)receive_free, sizeof(t_receive), CLASS_NOINLET, A_DEFSYM, 0);
---
> (t_method)receive_free, sizeof(t_receive), 0, A_DEFSYM, 0);
301a315
> class_addmethod(receive_class, (t_method)receive_set, gensym("set"), A_SYMBOL, 0);
|