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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Apr 15 20:47:05 EDT 2010


Author: matju
Date: Thu Apr 15 20:47:05 2010
New Revision: 5454

Log:
more of the same, plus [gf/find_file]

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Thu Apr 15 20:47:05 2010
@@ -1130,7 +1130,7 @@
 
 \class GFCanvasFileName : FObject {
 	int n;
-	\constructor (int n) {this->n=n;}
+	\constructor (int n=0) {this->n=n;}
 	\decl 0 bang () {MOM; outlet_symbol(outlets[0],m->gl_name ? m->gl_name : gensym("empty"));}
 };
 \end class {install("gf/canvas_filename",1,1);}
@@ -1142,7 +1142,7 @@
 \end class {install("gf/canvas_dollarzero",1,1);}
 \class GFCanvasGetPos : FObject {
 	int n;
-	\constructor (int n) {this->n=n;}
+	\constructor (int n=0) {this->n=n;}
 	\decl 0 bang () {MOM;
 		t_atom a[2];
 		SETFLOAT(a+0,m->gl_obj.te_xpix);
@@ -1153,7 +1153,7 @@
 \end class {install("gf/canvas_getpos",1,1);}
 \class GFCanvasSetPos : FObject {
 	int n;
-	\constructor (int n) {this->n=n;}
+	\constructor (int n=0) {this->n=n;}
 	\decl 0 list (...);
 };
 \def 0 list (...) {MOM;
@@ -1513,7 +1513,7 @@
 
 \class FindFile : FObject {
 	int n;
-	\constructor (int n) {this->n=n;}
+	\constructor (int n=0) {this->n=n;}
 	\decl 0 symbol (t_symbol *s) {MOM
 	    int fd;
 	    char bof[MAXPDSTRING], *bofp;



More information about the Gridflow-cvs mailing list