Initial revision

This commit is contained in:
tomas
2004-07-27 14:15:24 +00:00
commit 8addf14a39
10 changed files with 792 additions and 0 deletions

10
luafilesystem.h Normal file
View File

@@ -0,0 +1,10 @@
/* Define 'chdir' for systems that do not implement it */
/* $Id: luafilesystem.h,v 1.1 2004/07/27 14:15:24 tomas Exp $ */
#ifdef NO_CHDIR
#define chdir(p) (-1)
#define chdir_error "Function 'chdir' not provided by system"
#else
#define chdir_error strerror(errno)
#endif
int luaopen_filesystem (lua_State *L);