Update of /cvsroot/pure-data/externals/miXed/shared/unstable In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10109/unstable
Modified Files: fragile.c fragile.h Log Message: toxy alpha17 and pddp alpha1 (see notes.txt for toxy, pddp and shared)
Index: fragile.c =================================================================== RCS file: /cvsroot/pure-data/externals/miXed/shared/unstable/fragile.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** fragile.c 12 Mar 2005 00:19:11 -0000 1.7 --- fragile.c 10 May 2005 17:58:41 -0000 1.8 *************** *** 16,23 **** }
! void fragile_class_getnames(t_atom *av) { int ac = pd_objectmaker->c_nmethod; t_methodentry *mp = pd_objectmaker->c_methods; while (ac--) { --- 16,27 ---- }
! int fragile_class_getnames(t_atom *av, int maxnames) { int ac = pd_objectmaker->c_nmethod; t_methodentry *mp = pd_objectmaker->c_methods; + if (ac > maxnames) + ac = maxnames; + else + maxnames = ac; while (ac--) { *************** *** 25,28 **** --- 29,33 ---- mp++; av++; } + return (maxnames); }
Index: fragile.h =================================================================== RCS file: /cvsroot/pure-data/externals/miXed/shared/unstable/fragile.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** fragile.h 12 Mar 2005 00:19:11 -0000 1.5 --- fragile.h 10 May 2005 17:58:41 -0000 1.6 *************** *** 7,11 ****
int fragile_class_count(void); ! void fragile_class_getnames(t_atom *av); void fragile_class_raise(t_symbol *cname, t_newmethod thiscall); t_pd *fragile_class_mutate(t_symbol *cname, t_newmethod thiscall, --- 7,11 ----
int fragile_class_count(void); ! int fragile_class_getnames(t_atom *av, int maxnames); void fragile_class_raise(t_symbol *cname, t_newmethod thiscall); t_pd *fragile_class_mutate(t_symbol *cname, t_newmethod thiscall,