Update of /cvsroot/pure-data/externals/grill/absattr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17156
Modified Files: absattr.cpp Log Message: small fixes
Index: absattr.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/absattr/absattr.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** absattr.cpp 5 Aug 2005 16:23:49 -0000 1.2 --- absattr.cpp 9 Aug 2005 10:31:08 -0000 1.3 *************** *** 107,117 **** void SetAttr(const t_symbol *attr,int argc,const t_atom *argv) { ! if(argc) ! attrs[attr].Set(argc,argv,0,true); else attrs.erase(attr); }
! static IsAttr(const t_atom &at) { return IsSymbol(at) && *GetString(at) == '@'; }
void Process(int argc,const t_atom *argv) --- 107,119 ---- void SetAttr(const t_symbol *attr,int argc,const t_atom *argv) { ! if(argc) { ! AtomList &lst = attrs[attr]; ! lst.Set(argc,argv,0,true); ! } else attrs.erase(attr); }
! static bool IsAttr(const t_atom &at) { return IsSymbol(at) && *GetString(at) == '@'; }
void Process(int argc,const t_atom *argv)