summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklua.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-28 14:55:16 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-28 14:55:16 +0000
commit681ca21a1e6731d7ce46be2a2419e600e957fae9 (patch)
tree77f111b10cb3ab26e1b97f9047972bc9004f69ae /apps/plugins/lua/rocklua.c
parent8e4098bd663c18ea800f47f88e657206d23a76ae (diff)
downloadrockbox-681ca21a1e6731d7ce46be2a2419e600e957fae9.zip
rockbox-681ca21a1e6731d7ce46be2a2419e600e957fae9.tar.gz
rockbox-681ca21a1e6731d7ce46be2a2419e600e957fae9.tar.bz2
rockbox-681ca21a1e6731d7ce46be2a2419e600e957fae9.tar.xz
Lua:
* add IO lib (adapted to Rockbox) * remove old IO wrappers * rework helloworld.lua to work with the IO lib * do some stuff in helloworld.lua better (part of FS#10379, by James Callahan) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21541 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/rocklua.c')
-rw-r--r--apps/plugins/lua/rocklua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c
index cc99f92..266fa43 100644
--- a/apps/plugins/lua/rocklua.c
+++ b/apps/plugins/lua/rocklua.c
@@ -36,6 +36,7 @@ static const luaL_Reg lualibs[] = {
{LUA_OSLIBNAME, luaopen_os},
{LUA_ROCKLIBNAME, luaopen_rock},
{LUA_BITLIBNAME, luaopen_bit},
+ {LUA_IOLIBNAME, luaopen_io},
{LUA_LOADLIBNAME, luaopen_package},
{NULL, NULL}
};