diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-27 22:48:50 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-27 22:48:50 +0000 |
commit | b2581e143d7c9a564026fbe3bf4f471b2260fd0f (patch) | |
tree | f6a25e4d6626fa986da215db75f781b1d85bc2cc /apps/plugins/lua/rocklua.c | |
parent | 64595105b1e63eedcd0c47290cf6c0d5e7e4cd46 (diff) | |
download | rockbox-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.c | 7 |
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 @@ | |||
30 | PLUGIN_HEADER | 30 | PLUGIN_HEADER |
31 | 31 | ||
32 | static const luaL_Reg lualibs[] = { | 32 | static 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 | }; |