Revision: 9981 http://pure-data.svn.sourceforge.net/pure-data/?rev=9981&view=rev Author: zmoelnig Date: 2008-06-11 06:57:53 -0700 (Wed, 11 Jun 2008)
Log Message: ----------- removed spurious addcreator()s
Modified Paths: -------------- trunk/externals/iem/iemmatrix/src/mtx_binop_generic.h trunk/externals/iem/iemmatrix/src/mtx_mul.c
Modified: trunk/externals/iem/iemmatrix/src/mtx_binop_generic.h =================================================================== --- trunk/externals/iem/iemmatrix/src/mtx_binop_generic.h 2008-06-11 12:02:11 UTC (rev 9980) +++ trunk/externals/iem/iemmatrix/src/mtx_binop_generic.h 2008-06-11 13:57:53 UTC (rev 9981) @@ -260,8 +260,6 @@ (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 @@
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 @@
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)
Modified: trunk/externals/iem/iemmatrix/src/mtx_mul.c =================================================================== --- trunk/externals/iem/iemmatrix/src/mtx_mul.c 2008-06-11 12:02:11 UTC (rev 9980) +++ trunk/externals/iem/iemmatrix/src/mtx_mul.c 2008-06-11 13:57:53 UTC (rev 9981) @@ -197,8 +197,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.