[Gridflow-cvs] [svn] commit: r3587 - /trunk/format/main.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Apr 17 02:27:21 EDT 2008


Author: matju
Date: Thu Apr 17 02:27:20 2008
New Revision: 3587

Log:
Format#initialize disabled for a while. shouldn't cause any problems...

Modified:
    trunk/format/main.c

Modified: trunk/format/main.c
==============================================================================
--- trunk/format/main.c (original)
+++ trunk/format/main.c Thu Apr 17 02:27:20 2008
@@ -99,18 +99,15 @@
 \end class FormatLookup {install("gf.format_lookup",1,1);}
 
 \class Format : GridObject
-\def void initialize (t_symbol *mode, ...) {
-	SUPER;
-	if (mode==gensym("out")) this->mode=2; else
-	if (mode==gensym("in"))  this->mode=4; else
-		RAISE("unknown mode");
-	this->frame = 0;
+//\def void initialize (t_symbol *mode, ...) {
+//	if (mode==gensym("out")) this->mode=2; else
+//	if (mode==gensym("in"))  this->mode=4; else RAISE("unknown mode");
 //	case mode
 //	when  :in; flags[2]==1
 //	when :out; flags[1]==1
 //	else raise "Format opening mode is incorrect"
 //	//end or raise "Format '#{self.class.instance_eval{@symbol_name}}' does not support mode '#{mode}'"
-}
+//}
 
 \def 0 open(t_symbol *mode, string filename) {
 	const char *fmode;



More information about the Gridflow-cvs mailing list