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:
parent
c1d27d105c
commit
82eea9ed69
4 changed files with 129 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue