diff options
Diffstat (limited to 'x_connective_pd034.diff')
-rw-r--r-- | x_connective_pd034.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x_connective_pd034.diff b/x_connective_pd034.diff new file mode 100644 index 0000000..ff47812 --- /dev/null +++ b/x_connective_pd034.diff @@ -0,0 +1,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); |