From b2581e143d7c9a564026fbe3bf4f471b2260fd0f Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Wed, 27 May 2009 22:48:50 +0000 Subject: Lua: add support for os library git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21106 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lua/rocklua.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/plugins/lua/rocklua.c') diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c index 5360090cab..1162c026d1 100644 --- a/apps/plugins/lua/rocklua.c +++ b/apps/plugins/lua/rocklua.c @@ -30,9 +30,10 @@ PLUGIN_HEADER static const luaL_Reg lualibs[] = { - {"", luaopen_base}, - {LUA_TABLIBNAME, luaopen_table}, - {LUA_STRLIBNAME, luaopen_string}, + {"", luaopen_base}, + {LUA_TABLIBNAME, luaopen_table}, + {LUA_STRLIBNAME, luaopen_string}, + {LUA_OSLIBNAME, luaopen_os}, {LUA_ROCKLIBNAME, luaopen_rock}, {NULL, NULL} }; -- cgit v1.2.3