From 82eea9ed69886a4eaf41a1124b292635ca60fe9a Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 1 Jun 2009 22:02:18 +0000 Subject: Lua: add bitlib (makes bitwise operators possible) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21164 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lua/lualib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins/lua/lualib.h') diff --git a/apps/plugins/lua/lualib.h b/apps/plugins/lua/lualib.h index 33d4e314c2..d4f69fc4af 100644 --- a/apps/plugins/lua/lualib.h +++ b/apps/plugins/lua/lualib.h @@ -39,6 +39,8 @@ LUALIB_API int (luaopen_debug) (lua_State *L); #define LUA_LOADLIBNAME "package" LUALIB_API int (luaopen_package) (lua_State *L); +#define LUA_BITLIBNAME "bit" +LUALIB_API int (luaopen_bit) (lua_State *L); /* open all previous libraries */ LUALIB_API void (luaL_openlibs) (lua_State *L); -- cgit v1.2.3