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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Aug 15 17:07:02 EDT 2010


Author: matju
Date: Sun Aug 15 17:07:01 2010
New Revision: 6126

Log:
replace SETNULL by set_atom

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sun Aug 15 17:07:01 2010
@@ -91,11 +91,11 @@
 				t_atom *bat = binbuf_getvec(b);
 				sargv[i].name = atom_getsymbolarg(0,bac,bat);
 				sargv[i].type = atom_getsymbolarg(1,bac,bat);
-				if (bac<3) SETNULL(&sargv[i].defaultv); else sargv[i].defaultv = bat[2];
+				if (bac<3) set_atom(&sargv[i].defaultv); else sargv[i].defaultv = bat[2];
 			} else if (argv[i].a_type==A_SYMBOL) {
 				sargv[i].name = argv[i];
 				sargv[i].type = gensym("a");
-				SETNULL(&sargv[i].defaultv);
+				set_atom(&sargv[i].defaultv);
 			} else RAISE("expected symbol or nested list");
 		}
 		noutlets_set(sargc);



More information about the Gridflow-cvs mailing list