diff options
-rw-r--r-- | piperead~.c | 2 | ||||
-rw-r--r-- | pipewrite~.c | 2 | ||||
-rw-r--r-- | receive13.c | 2 | ||||
-rw-r--r-- | receive13~.c | 2 | ||||
-rw-r--r-- | send13.c | 2 | ||||
-rw-r--r-- | send13~.c | 4 | ||||
-rw-r--r-- | streamin13~.c | 2 | ||||
-rw-r--r-- | streamout13~.c | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/piperead~.c b/piperead~.c index aac3366..2dde1de 100644 --- a/piperead~.c +++ b/piperead~.c @@ -156,7 +156,7 @@ void piperead_tilde_setup(void) piperead_tilde_class = class_new(gensym("piperead~"), (t_newmethod)piperead_tilde_new, 0, sizeof(t_piperead_tilde), 0,A_DEFFLOAT,A_DEFFLOAT,0); class_addmethod(piperead_tilde_class, nullfn, gensym("signal"), 0); - class_sethelpsymbol(piperead_tilde_class, gensym("pipeio~")); + class_addmethod(piperead_tilde_class, (t_method) piperead_tilde_dsp, gensym("dsp"), 0); class_addmethod(piperead_tilde_class, (t_method) piperead_tilde_open, gensym("open"), A_SYMBOL,A_NULL); class_addfloat(piperead_tilde_class, piperead_tilde_float); diff --git a/pipewrite~.c b/pipewrite~.c index dc31509..1c68235 100644 --- a/pipewrite~.c +++ b/pipewrite~.c @@ -273,7 +273,7 @@ void pipewrite_tilde_setup(void) pipewrite_tilde_class = class_new(gensym("pipewrite~"), (t_newmethod)pipewrite_tilde_new, (t_method)pipewrite_tilde_free, sizeof(t_pipewrite_tilde), 0,A_DEFFLOAT,0); class_addmethod(pipewrite_tilde_class,nullfn,gensym("signal"), 0); - class_sethelpsymbol(pipewrite_tilde_class, gensym("pipeio~")); + class_addmethod(pipewrite_tilde_class, (t_method) pipewrite_tilde_dsp, gensym("dsp"), 0); class_addmethod(pipewrite_tilde_class, (t_method) pipewrite_tilde_open, gensym("open"), A_SYMBOL,A_NULL); class_addmethod(pipewrite_tilde_class, (t_method) pipewrite_tilde_close, gensym("close"), 0); diff --git a/receive13.c b/receive13.c index 4892775..04e2670 100644 --- a/receive13.c +++ b/receive13.c @@ -73,7 +73,7 @@ void receive13_setup(void) receive13_class = class_new(gensym("receive13"), (t_newmethod)receive13_new, (t_method)receive13_free, sizeof(t_receive13), 0, A_DEFSYM, 0); class_addcreator((t_newmethod)receive13_new, gensym("r13"), A_DEFSYM, 0); - class_sethelpsymbol(receive13_class, gensym("ext13")); + class_addbang(receive13_class, receive13_bang); class_addfloat(receive13_class, (t_method)receive13_float); class_addsymbol(receive13_class, receive13_symbol); diff --git a/receive13~.c b/receive13~.c index 646106e..a9e1b2f 100644 --- a/receive13~.c +++ b/receive13~.c @@ -112,7 +112,7 @@ void sigreceive13_setup(void) (t_newmethod)sigreceive13_new, 0, sizeof(t_sigreceive13),0, A_DEFSYM, 0); class_addcreator((t_newmethod)sigreceive13_new, gensym("r13~"), A_DEFSYM, 0); - class_sethelpsymbol(sigreceive13_class, gensym("ext13")); + class_addmethod(sigreceive13_class, (t_method)sigreceive13_set, gensym("set"), A_SYMBOL, 0); class_addmethod(sigreceive13_class, (t_method)sigreceive13_dsp, gensym("dsp"), @@ -65,7 +65,7 @@ void send13_setup(void) send13_class = class_new(gensym("send13"), (t_newmethod)send13_new, 0, sizeof(t_send13), 0, A_DEFSYM, 0); class_addcreator((t_newmethod)send13_new, gensym("s13"), A_DEFSYM, 0); - class_sethelpsymbol(send13_class, gensym("ext13")); + class_addbang(send13_class, send13_bang); class_addfloat(send13_class, send13_float); class_addsymbol(send13_class, send13_symbol); @@ -67,8 +67,8 @@ void sigsend13_setup(void) sigsend13_class = class_new(gensym("send13~"), (t_newmethod)sigsend13_new, (t_method)sigsend13_free, sizeof(t_sigsend13), 0, A_DEFSYM, 0); class_addmethod(sigsend13_class, (t_method)sigsend13_set, gensym("set"),A_SYMBOL, 0); - class_sethelpsymbol(sigsend13_class, gensym("netio13~")); - class_sethelpsymbol(sigsend13_class, gensym("ext13")); + + class_addcreator((t_newmethod)sigsend13_new, gensym("s13~"), A_DEFSYM, 0); class_addmethod(sigsend13_class, nullfn, gensym("signal"), 0); class_addmethod(sigsend13_class, (t_method)sigsend13_dsp, gensym("dsp"), 0); diff --git a/streamin13~.c b/streamin13~.c index 1ddfbe8..8f55051 100644 --- a/streamin13~.c +++ b/streamin13~.c @@ -305,7 +305,7 @@ void streamin13_setup(void) streamin13_class = class_new(gensym("streamin13~"), (t_newmethod) streamin13_new, (t_method) streamin13_free, sizeof(t_streamin13), A_DEFSYM, A_DEFFLOAT, A_DEFFLOAT, 0); - class_sethelpsymbol(streamin13_class, gensym("streamio13~")); + class_addmethod(streamin13_class, nullfn, gensym("signal"), 0); class_addmethod(streamin13_class, (t_method) streamin13_dsp, gensym("dsp"), 0); class_addmethod(streamin13_class, (t_method)streamin13_port,gensym("port"),A_DEFFLOAT,0); diff --git a/streamout13~.c b/streamout13~.c index 02dc92f..b7324da 100644 --- a/streamout13~.c +++ b/streamout13~.c @@ -379,7 +379,7 @@ void streamout13_setup(void) { streamout13_class = class_new(gensym("streamout13~"), (t_newmethod) streamout13_new, 0, sizeof(t_streamout13), 0, A_DEFSYM, A_DEFFLOAT,A_DEFFLOAT, 0); - class_sethelpsymbol(streamout13_class, gensym("streamio13~")); + class_addmethod(streamout13_class, (t_method) streamout13_connect,gensym("connect"), A_SYMBOL, A_DEFFLOAT, 0); class_addmethod(streamout13_class, (t_method) streamout13_disconnect, gensym("disconnect"), 0); class_addfloat(streamout13_class,streamout13_float); |