summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklua.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-27 22:48:50 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-27 22:48:50 +0000
commitb2581e143d7c9a564026fbe3bf4f471b2260fd0f (patch)
treef6a25e4d6626fa986da215db75f781b1d85bc2cc /apps/plugins/lua/rocklua.c
parent64595105b1e63eedcd0c47290cf6c0d5e7e4cd46 (diff)
downloadrockbox-b2581e143d7c9a564026fbe3bf4f471b2260fd0f.tar.gz
rockbox-b2581e143d7c9a564026fbe3bf4f471b2260fd0f.zip
Lua: add support for os library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21106 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/rocklua.c')
-rw-r--r--apps/plugins/lua/rocklua.c7
1 files changed, 4 insertions, 3 deletions
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 @@
30PLUGIN_HEADER 30PLUGIN_HEADER
31 31
32static const luaL_Reg lualibs[] = { 32static const luaL_Reg lualibs[] = {
33 {"", luaopen_base}, 33 {"", luaopen_base},
34 {LUA_TABLIBNAME, luaopen_table}, 34 {LUA_TABLIBNAME, luaopen_table},
35 {LUA_STRLIBNAME, luaopen_string}, 35 {LUA_STRLIBNAME, luaopen_string},
36 {LUA_OSLIBNAME, luaopen_os},
36 {LUA_ROCKLIBNAME, luaopen_rock}, 37 {LUA_ROCKLIBNAME, luaopen_rock},
37 {NULL, NULL} 38 {NULL, NULL}
38}; 39};