diff options
| author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-23 10:49:55 +0000 |
|---|---|---|
| committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-23 10:49:55 +0000 |
| commit | 6314952ff1b49372635fd972c887d4e3ba860705 (patch) | |
| tree | c26c82c3943a81b5c30a781cd635ad90d02d5539 /apps/plugins/lua/rocklua.c | |
| parent | 9dd25adae488ef5461f2cf6fabb25ac974703be4 (diff) | |
| download | rockbox-6314952ff1b49372635fd972c887d4e3ba860705.zip rockbox-6314952ff1b49372635fd972c887d4e3ba860705.tar.gz rockbox-6314952ff1b49372635fd972c887d4e3ba860705.tar.bz2 rockbox-6314952ff1b49372635fd972c887d4e3ba860705.tar.xz | |
Lua: add parts of the math library (all floating point functions are #ifdef'ed out)
Flyspray: FS#10389
Author: myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23321 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/rocklua.c')
| -rw-r--r-- | apps/plugins/lua/rocklua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c index 266fa43..395cde8 100644 --- a/apps/plugins/lua/rocklua.c +++ b/apps/plugins/lua/rocklua.c @@ -38,6 +38,7 @@ static const luaL_Reg lualibs[] = { {LUA_BITLIBNAME, luaopen_bit}, {LUA_IOLIBNAME, luaopen_io}, {LUA_LOADLIBNAME, luaopen_package}, + {LUA_MATHLIBNAME, luaopen_math}, {NULL, NULL} }; |