diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-06-11 13:57:53 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-06-11 13:57:53 +0000 |
commit | e57133af3f8ba27be56c5b9eb59a9ff747783874 (patch) | |
tree | 359c054e3131711abd3f04107f23dbd7888f82ee /src | |
parent | c859f9f8b1474aabdc12b0b919e63669fcd75bc0 (diff) |
removed spurious addcreator()s
svn path=/trunk/externals/iem/iemmatrix/; revision=9981
Diffstat (limited to 'src')
-rw-r--r-- | src/mtx_binop_generic.h | 5 | ||||
-rw-r--r-- | src/mtx_mul.c | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/mtx_binop_generic.h b/src/mtx_binop_generic.h index 2f0e8e9..a35a72d 100644 --- a/src/mtx_binop_generic.h +++ b/src/mtx_binop_generic.h @@ -260,8 +260,6 @@ void MTXBIN_APPEND(_setup) (void) (t_method)mtx_binmtx_free, sizeof(t_mtx_binmtx), 0, A_GIMME, 0); - class_addcreator((t_newmethod)mtxbin_new, gensym(MTXBIN_SHORTNAME), A_GIMME,0); - class_addmethod(MTXBIN_APPEND(_class), (t_method)mtxbin_matrix, gensym("matrix"), A_GIMME, 0); class_addmethod(MTXBIN_APPEND(_class), (t_method)mtx_bin_matrix2, gensym(""), A_GIMME, 0); class_addfloat (MTXBIN_APPEND(_class), mtxbin_float); @@ -269,7 +267,6 @@ void MTXBIN_APPEND(_setup) (void) MTXBIN_APPEND(_scalarclass) = class_new(gensym(MTXBIN_LONGNAME), 0, (t_method)mtx_binscalar_free, sizeof(t_mtx_binscalar), 0, 0); - class_addcreator(0, gensym(MTXBIN_SHORTNAME), 0, 0); class_addmethod(MTXBIN_APPEND(_scalarclass), (t_method)mtxbin_scalar_matrix, gensym("matrix"), A_GIMME, 0); class_addlist (MTXBIN_APPEND(_scalarclass), mtxbin_scalar_list); @@ -277,6 +274,8 @@ void MTXBIN_APPEND(_setup) (void) class_sethelpsymbol(MTXBIN_APPEND(_class), gensym(MTXBIN_REALHELPNAME)); class_sethelpsymbol(MTXBIN_APPEND(_scalarclass), gensym(MTXBIN_REALHELPNAME)); + + class_addcreator((t_newmethod)mtxbin_new, gensym(MTXBIN_SHORTNAME), A_GIMME,0); } void MTXBIN_IEMSETUP(MTXBIN_GENERIC__NAME) (void) diff --git a/src/mtx_mul.c b/src/mtx_mul.c index a79b374..e1ceb0e 100644 --- a/src/mtx_mul.c +++ b/src/mtx_mul.c @@ -197,8 +197,7 @@ void mtx_mul_setup(void) mtx_mulscalar_class = class_new(gensym("mtx_mul"), 0, (t_method)mtx_binscalar_free, sizeof(t_mtx_binscalar), 0, 0); - class_addcreator(0, gensym("mtx_*"), 0, 0); - class_addcreator(0, gensym("mtx_.*"), 0, 0); + class_addmethod(mtx_mulscalar_class, (t_method)mtx_mulscalar_matrix, gensym("matrix"), A_GIMME, 0); class_addlist (mtx_mulscalar_class, mtx_mulscalar_list); class_addbang (mtx_mulscalar_class, mtx_binscalar_bang); |