[Gridflow-cvs] [svn] commit: r3907 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 18 23:09:40 EDT 2008


Author: matju
Date: Wed Jun 18 23:09:39 2008
New Revision: 3907

Log:
"help" now prints the method table in addition to the attribute table

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Wed Jun 18 23:09:39 2008
@@ -796,9 +796,12 @@
 }
 \def 0 help () {
 	FClass *fc = fclasses_pd[pd_class(bself)];
-	post("attributes {");
+	post("attributes (");
 	foreach(attr,fc->attrs) post("    %s %s;",attr->second->type.data(),attr->second->name.data());
-	post("}");
+	post(")");
+	post("methods (");
+	for (int i=0; i<fc->methodsn; i++) post("    %s",fc->methods[i]);
+	post(")");
 }
 \classinfo {}
 \end class



More information about the Gridflow-cvs mailing list