diff options
Diffstat (limited to 'cyclone/shadow')
-rw-r--r-- | cyclone/shadow/nettles.c | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/cyclone/shadow/nettles.c b/cyclone/shadow/nettles.c index b1df43f..c9ddb04 100644 --- a/cyclone/shadow/nettles.c +++ b/cyclone/shadow/nettles.c @@ -490,12 +490,15 @@ void nettles_setup(void) sizeof(t_rbinop), 0, A_DEFFLOAT, 0); class_addbang(rminus_class, rminus_bang); class_addfloat(rminus_class, rminus_float); + class_sethelpsymbol(rminus_class, gensym("nettles")); + rdiv_class = class_new(gensym("!/"), (t_newmethod)rdiv_new, 0, sizeof(t_rbinop), 0, A_DEFFLOAT, 0); class_addbang(rdiv_class, rdiv_bang); class_addfloat(rdiv_class, rdiv_float); - + class_sethelpsymbol(rdiv_class, gensym("nettles")); + sigeq_class = class_new(gensym("==~"), (t_newmethod)sigeq_new, 0, sizeof(t_sigeq), 0, A_GIMME, 0); @@ -506,39 +509,56 @@ void nettles_setup(void) sic_setup(sigeq_class, sigeq_dsp, SIC_FLOATTOSIGNAL); class_addmethod(sigeq_class, (t_method)sigeq__algo, gensym("_algo"), A_FLOAT, 0); + class_sethelpsymbol(sigeq_class, gensym("nettles")); signeq_class = class_new(gensym("!=~"), (t_newmethod)signeq_new, 0, sizeof(t_signeq), 0, A_GIMME, 0); sic_setup(signeq_class, signeq_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(signeq_class, gensym("nettles")); + siglt_class = class_new(gensym("<~"), (t_newmethod)siglt_new, 0, sizeof(t_siglt), 0, A_GIMME, 0); sic_setup(siglt_class, siglt_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(siglt_class, gensym("nettles")); + siggt_class = class_new(gensym(">~"), (t_newmethod)siggt_new, 0, sizeof(t_siggt), 0, A_GIMME, 0); sic_setup(siggt_class, siggt_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(siggt_class, gensym("nettles")); + sigleq_class = class_new(gensym("<=~"), (t_newmethod)sigleq_new, 0, sizeof(t_sigleq), 0, A_GIMME, 0); sic_setup(sigleq_class, sigleq_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(sigleq_class, gensym("nettles")); + siggeq_class = class_new(gensym(">=~"), (t_newmethod)siggeq_new, 0, sizeof(t_siggeq), 0, A_GIMME, 0); sic_setup(siggeq_class, siggeq_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(siggeq_class, gensym("nettles")); + sigrminus_class = class_new(gensym("!-~"), (t_newmethod)sigrminus_new, 0, sizeof(t_sigrminus), 0, A_GIMME, 0); sic_setup(sigrminus_class, sigrminus_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(sigrminus_class, gensym("nettles")); + sigrover_class = class_new(gensym("!/~"), (t_newmethod)sigrover_new, 0, sizeof(t_sigrover), 0, A_GIMME, 0); sic_setup(sigrover_class, sigrover_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(sigrover_class, gensym("nettles")); + sigmod_class = class_new(gensym("%~"), (t_newmethod)sigmod_new, 0, sizeof(t_sigmod), 0, A_GIMME, 0); sic_setup(sigmod_class, sigmod_dsp, SIC_FLOATTOSIGNAL); + class_sethelpsymbol(sigmod_class, gensym("nettles")); + sigaccum_class = class_new(gensym("+=~"), (t_newmethod)sigaccum_new, 0, sizeof(t_sigaccum), 0, A_DEFFLOAT, 0); @@ -546,6 +566,8 @@ void nettles_setup(void) class_addbang(sigaccum_class, sigaccum_bang); class_addmethod(sigaccum_class, (t_method)sigaccum_set, gensym("set"), A_FLOAT, 0); + class_sethelpsymbol(sigaccum_class, gensym("nettles")); + logpost(NULL, 4, "this is cyclone/nettles %s, %dth %s build", CYCLONE_VERSION, CYCLONE_BUILD, CYCLONE_RELEASE); } |