From bfd8d023db7b6be9dff11a781372c382a27e053b Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 18 Jun 2010 13:10:14 +0000 Subject: FS#11347 by me: *dir LUA functions: luadir module mkdir and rmdir are now in this module and not in the rockbox API implements the 'dir' iterator to browse directories Based on LuaFileSystem : http://www.keplerproject.org/luafilesystem git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26913 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lua/rocklua.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins/lua/rocklua.c') diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c index 395cde8d9d..b92c274fb0 100644 --- a/apps/plugins/lua/rocklua.c +++ b/apps/plugins/lua/rocklua.c @@ -26,6 +26,7 @@ #include "lualib.h" #include "rocklib.h" #include "rockmalloc.h" +#include "luadir.h" PLUGIN_HEADER @@ -39,6 +40,7 @@ static const luaL_Reg lualibs[] = { {LUA_IOLIBNAME, luaopen_io}, {LUA_LOADLIBNAME, luaopen_package}, {LUA_MATHLIBNAME, luaopen_math}, + {LUA_DIRLIBNAME, luaopen_luadir}, {NULL, NULL} }; -- cgit v1.2.3