[Gridflow-cvs] [svn] commit: r6113 - in /trunk: doc/flow_classes/gf/class_info-help.pd src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Aug 15 13:13:25 EDT 2010


Author: matju
Date: Sun Aug 15 13:13:24 2010
New Revision: 6113

Log:
add [gf/class_info]

Added:
    trunk/doc/flow_classes/gf/class_info-help.pd
Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sun Aug 15 13:13:24 2010
@@ -1178,7 +1178,12 @@
 	\constructor () {}
 	\decl 0 symbol (t_symbol *s) {
 		if (fclasses.find(s)==fclasses.end()) {out[0](); return;}
-		t_class *qlass = fclasses[s]->bfclass;
+		FClass *c = fclasses[s];
+		foreach(m,c->methods) {
+			t_atom2 a[] = {m->first.first,m->first.second}; out[0](gensym("method"),2,a);
+		}
+		//t_class *qlass = c->bfclass;
+		
 	}
 };
 \end class {install("gf/class_info",1,1);}



More information about the Gridflow-cvs mailing list