From 38542899b3751c47af3dc38323d85794fa6a8901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 29 Mar 2006 11:59:42 +0000 Subject: fixed help-patch svn path=/trunk/externals/iem/iemmatrix/; revision=4802 --- src/mtx_mul.c | 9 ++++----- src/mtx_mul~.c | 5 ++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/mtx_mul.c b/src/mtx_mul.c index e00af08..42fd406 100644 --- a/src/mtx_mul.c +++ b/src/mtx_mul.c @@ -219,9 +219,8 @@ void mtx_mul_setup(void) class_addlist (mtx_mulscalar_class, mtx_mulscalar_list); class_addbang (mtx_mulscalar_class, mtx_binscalar_bang); - class_sethelpsymbol(mtx_mul_class, gensym("iemmatrix/mtx_binops")); - class_sethelpsymbol(mtx_mulelement_class, gensym("iemmatrix/mtx_binops")); - class_sethelpsymbol(mtx_mulscalar_class, gensym("iemmatrix/mtx_binops")); + class_sethelpsymbol(mtx_mulelement_class, gensym("mtx_mul-help")); + class_sethelpsymbol(mtx_mulscalar_class, gensym("mtx_mul-help")); } @@ -355,8 +354,8 @@ void mtx_div_setup(void) class_addlist (mtx_divscalar_class, mtx_divscalar_list); class_addbang (mtx_divscalar_class, mtx_binscalar_bang); - class_sethelpsymbol(mtx_divelement_class, gensym("iemmatrix/mtx_binops")); - class_sethelpsymbol(mtx_divscalar_class, gensym("iemmatrix/mtx_binops")); + class_sethelpsymbol(mtx_divelement_class, gensym("mtx_mul-help")); + class_sethelpsymbol(mtx_divscalar_class, gensym("mtx_mul-help")); } void iemtx_mul_setup(void) diff --git a/src/mtx_mul~.c b/src/mtx_mul~.c index b45e1dd..11306e8 100644 --- a/src/mtx_mul~.c +++ b/src/mtx_mul~.c @@ -916,12 +916,13 @@ static void *matrix_multilde_new(t_symbol *s, int argc, t_atom *argv) void mtx_mul_tilde_setup(void) { - matrix_multilde_class = class_new(gensym("mtx_*~"), + matrix_multilde_class = class_new(gensym("mtx_mul~"), (t_newmethod)matrix_multilde_new, (t_method)matrix_multilde_free, sizeof(t_matrix_multilde), 0, A_GIMME, 0); class_addcreator((t_newmethod)matrix_multilde_new, gensym("matrix_mul~"), A_GIMME, 0); + class_addcreator((t_newmethod)matrix_multilde_new, gensym("mtx_*~"), A_GIMME, 0); /* compatibility with tm's iem_matrix */ class_addcreator((t_newmethod)matrix_multilde_new, gensym("matrix_mul_line~"), A_GIMME, 0); /* compatibility with jmz's zexy */ @@ -939,8 +940,6 @@ void mtx_mul_tilde_setup(void) class_addmethod(matrix_multilde_class, (t_method)matrix_multilde_time, gensym("time"), A_FLOAT, 0); class_addmethod(matrix_multilde_class, (t_method)matrix_multilde_matrixT, gensym(""), A_GIMME, 0); - - class_sethelpsymbol(matrix_multilde_class, gensym("iemmatrix/matrix_mul~")); } void iemtx_mul__setup(void) -- cgit v1.2.1