diff options
Diffstat (limited to 't_lfs.lua')
-rw-r--r-- | t_lfs.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t_lfs.lua b/t_lfs.lua new file mode 100644 index 0000000..b81950a --- /dev/null +++ b/t_lfs.lua | |||
@@ -0,0 +1,8 @@ | |||
1 | -- $Id: t_lfs.lua,v 1.1 2004/07/29 14:26:33 tomas Exp $ | ||
2 | if not lfs and loadlib then | ||
3 | local libname = "LIB_NAME" | ||
4 | local libopen = "luaopen_lfs" | ||
5 | local init, err1, err2 = loadlib (libname, libopen) | ||
6 | assert (init, (err1 or '')..(err2 or '')) | ||
7 | init () | ||
8 | end | ||