File: x_connective_pd035.diff

package info (click to toggle)
pd-cxc 0.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 500 kB
  • sloc: ansic: 3,528; makefile: 347
file content (14 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
246a247,253
> 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);
> }
> 
294c301
<     	(t_method)receive_free, sizeof(t_receive), CLASS_NOINLET, A_DEFSYM, 0);
---
>     	(t_method)receive_free, sizeof(t_receive), 0, A_DEFSYM, 0);
301a309
>     class_addmethod(receive_class, (t_method)receive_set, gensym("set"), A_SYMBOL, 0);