From 6314952ff1b49372635fd972c887d4e3ba860705 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 23 Oct 2009 10:49:55 +0000 Subject: 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 --- apps/plugins/lua/rocklua.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugins/lua/rocklua.c') 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} }; -- cgit v1.1