Update of /cvsroot/luabind/luabind/luabind/examples/filesystem
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv29589/examples/filesystem
Modified Files:
Jamfile filesystem.cpp
Log Message:
fixed filesystem example an some example Jamfiles
Index: Jamfile
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/examples/filesystem/Jamfile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Jamfile 28 Nov 2005 20:55:34 -0000 1.2
+++ Jamfile 5 Oct 2006 19:48:15 -0000 1.3
@@ -10,5 +10,3 @@
/luabind//luabind
;
-stage . : filesystem ;
-
Index: filesystem.cpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/examples/filesystem/filesystem.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- filesystem.cpp 28 Nov 2005 20:55:34 -0000 1.9
+++ filesystem.cpp 5 Oct 2006 19:48:15 -0000 1.10
@@ -57,7 +57,7 @@
.def(other<const char*>() / const_self)
.def(const_self / other<const char*>())
- .property("contents", &identity, return_directory_iterator)
+// .property("contents", &identity, return_directory_iterator)
,
def("exists", &fs::exists),
@@ -110,6 +110,6 @@
args["n"] = argc;
globals(L)["args"] = args;
- lua_dofile(L, argv[1]);
+ luaL_dofile(L, argv[1]);
}
|