1
0
Fork 0
forked from len0rd/rockbox

Lua: add bitlib (makes bitwise operators possible)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21164 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-06-01 22:02:18 +00:00
parent c1d27d105c
commit 82eea9ed69
4 changed files with 129 additions and 0 deletions

View file

@ -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);