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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Apr 5 22:11:08 EDT 2010


Author: matju
Date: Mon Apr  5 22:11:07 2010
New Revision: 5334

Log:
add [gf/string_length]

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Mon Apr  5 22:11:07 2010
@@ -1442,6 +1442,12 @@
 };
 \end class {install("gf/string_<",2,1);}
 
+\class GFStringLength : FObject {
+	\constructor () {}
+	\decl 0 symbol (t_symbol *it) {outlet_float(outlets[0],strlen(it->s_name));}
+};
+\end class {install("gf/string_length",1,1);}
+
 \class GFGetPid : FObject {
 	static t_symbol *sym;
 	\constructor () {}



More information about the Gridflow-cvs mailing list