[Gridflow-cvs] [svn] commit: r3322 - /trunk/base/grid.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Mar 28 11:54:24 EDT 2008


Author: matju
Date: Fri Mar 28 11:54:23 2008
New Revision: 3322

Log:
add gf_find_file as C++ shortcut for Ruby GridFlow.find_file

Modified:
    trunk/base/grid.h

Modified: trunk/base/grid.h
==============================================================================
--- trunk/base/grid.h (original)
+++ trunk/base/grid.h Fri Mar 28 11:54:23 2008
@@ -944,4 +944,6 @@
 	\decl 0 rewind ();
 };
 
+static inline string gf_find_file (string x) {return string(rb_str_ptr(rb_funcall(mGridFlow,SI(find_file),1,rb_str_new2(x.data()))));}
+
 #endif // __GF_GRID_H



More information about the Gridflow-cvs mailing list