[Gridflow-cvs] [svn] commit: r6085 - /trunk/src/gridflow.hxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Aug 13 16:34:31 EDT 2010


Author: matju
Date: Fri Aug 13 16:34:30 2010
New Revision: 6085

Log:
allow set_atom to copy whole atoms

Modified:
    trunk/src/gridflow.hxx

Modified: trunk/src/gridflow.hxx
==============================================================================
--- trunk/src/gridflow.hxx (original)
+++ trunk/src/gridflow.hxx Fri Aug 13 16:34:30 2010
@@ -912,6 +912,7 @@
 inline void set_atom (t_atom *a, t_symbol *v) {SETSYMBOL(a,v);}
 inline void set_atom (t_atom *a, Numop    *v) {SETSYMBOL(a,v->sym);}
 inline void set_atom (t_atom *a, t_binbuf *v) {SETLIST(a,v);}
+inline void set_atom (t_atom *a, const t_atom &v) {*a=v;}
 
 extern map<string,FClass *> fclasses;
 int handle_braces(int ac, t_atom *av);



More information about the Gridflow-cvs mailing list