[Gridflow-cvs] [svn] commit: r6090 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Aug 14 16:19:12 EDT 2010


Author: matju
Date: Sat Aug 14 16:19:12 2010
New Revision: 6090

Log:
listflatten: add bang as a temporary measure

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sat Aug 14 16:19:12 2010
@@ -98,7 +98,7 @@
 		sargv = new ArgSpec[argc];
 		for (int i=0; i<argc; i++) {
 			if (argv[i].a_type==A_LIST) {
-				t_binbuf *b = (t_binbuf *)argv[i].a_gpointer;
+				t_binbuf *b = argv[i];
 				int bac = binbuf_getnatom(b);
 				t_atom *bat = binbuf_getvec(b);
 				sargv[i].name = atom_getsymbolarg(0,bac,bat);
@@ -269,6 +269,7 @@
 		out[0](contents.size(),&contents[0]);
 		contents.clear();
 	}
+	\decl 0 bang () {out[0]();} // really should change gridflow.cxx soon because this is getting annoying.
 };
 \end class {install("listflatten",1,1);}
 



More information about the Gridflow-cvs mailing list