[Gridflow-cvs] [svn] commit: r6309 - in /trunk/src: classes1.cxx classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Sep 20 01:22:37 EDT 2010


Author: matju
Date: Mon Sep 20 01:22:37 2010
New Revision: 6309

Log:
[print] [#print] use CLASS_NOPARENS

Modified:
    trunk/src/classes1.cxx
    trunk/src/classes2.cxx

Modified: trunk/src/classes1.cxx
==============================================================================
--- trunk/src/classes1.cxx (original)
+++ trunk/src/classes1.cxx Mon Sep 20 01:22:37 2010
@@ -324,7 +324,7 @@
 	dump_dims(head,in);
 	if (in.dim.prod()==0) puts(head);
 } GRID_END
-\end class {install("#print",1,1); add_creator("@print");}
+\end class {install("#print",1,1,CLASS_NOPARENS); add_creator("@print");}
 
 /* **************************************************************** */
 // [#store] is the class for storing a grid and restituting it on demand.

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Mon Sep 20 01:22:37 2010
@@ -67,9 +67,7 @@
 	else                          pd_typedmess(o,&s_list         ,argc  ,argv  );
 }
 
-static void dont_handle_parens (int ac, t_atom2 *av) {
-	for (int i=0; i<ac; i++) if (av[i]==s_comma) SETCOMMA(&av[i]);
-}
+static void dont_handle_parens (int ac, t_atom2 *av) {for (int i=0; i<ac; i++) if (av[i]==s_comma) SETCOMMA(&av[i]);}
 
 \class Args : FObject {
 	\attr bool noloadbang;
@@ -330,7 +328,7 @@
 		post("%s",text.str().data());
 	}
 };
-\end class {install("gf/print",1,0); add_creator2(fclass,"gf.print"); add_creator3(fclass,"print");}
+\end class {install("gf/print",1,0,CLASS_NOPARENS); add_creator2(fclass,"gf.print"); add_creator3(fclass,"print");}
 
 //****************************************************************
 



More information about the Gridflow-cvs mailing list