diff options
author | tomas <tomas> | 2004-07-27 14:15:24 +0000 |
---|---|---|
committer | tomas <tomas> | 2004-07-27 14:15:24 +0000 |
commit | 8addf14a396466982f62503a6dfa5793a53b1b8e (patch) | |
tree | 74d9db96683d623e3e789e2e51c7434da7ef6be4 /t_luafilesystem.lua | |
download | luafilesystem-8addf14a396466982f62503a6dfa5793a53b1b8e.tar.gz luafilesystem-8addf14a396466982f62503a6dfa5793a53b1b8e.tar.bz2 luafilesystem-8addf14a396466982f62503a6dfa5793a53b1b8e.zip |
Initial revision
Diffstat (limited to 't_luafilesystem.lua')
-rw-r--r-- | t_luafilesystem.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t_luafilesystem.lua b/t_luafilesystem.lua new file mode 100644 index 0000000..eb12afb --- /dev/null +++ b/t_luafilesystem.lua | |||
@@ -0,0 +1,8 @@ | |||
1 | -- $Id: t_luafilesystem.lua,v 1.1 2004/07/27 14:15:24 tomas Exp $ | ||
2 | if not luafilesystem and loadlib then | ||
3 | local libname = "LIB_NAME" | ||
4 | local libopen = "luaopen_luafilesystem" | ||
5 | local init, err1, err2 = loadlib (libname, libopen) | ||
6 | assert (init, (err1 or '')..(err2 or '')) | ||
7 | init () | ||
8 | end | ||