aboutsummaryrefslogtreecommitdiff
path: root/src/lua/luaopen_jin.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-08 21:31:35 +0800
committerchai <chaifix@163.com>2018-08-08 21:31:35 +0800
commit3a7b295e0fe166d6e4a44cfe17ad8c4f441e6084 (patch)
treec67c820e51b9ccd19893a590c7aaffcce384d547 /src/lua/luaopen_jin.cpp
parentaa7549126a4e821cecf75fbc32a433a7f8122d2b (diff)
*update
Diffstat (limited to 'src/lua/luaopen_jin.cpp')
-rw-r--r--src/lua/luaopen_jin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/luaopen_jin.cpp b/src/lua/luaopen_jin.cpp
index 4113ffe..0a258ec 100644
--- a/src/lua/luaopen_jin.cpp
+++ b/src/lua/luaopen_jin.cpp
@@ -19,6 +19,7 @@ namespace lua
extern int luaopen_joypad(lua_State* L);
extern int luaopen_math(lua_State* L);
extern int luaopen_thread(lua_State* L);
+ extern int luaopen_bit(lua_State* L);
static int l_getversion(lua_State* L)
{
@@ -72,6 +73,7 @@ namespace lua
{"joypad", luaopen_joypad},
{"math", luaopen_math},
{"thread", luaopen_thread},
+ {"bit", luaopen_bit},
{0, 0}
};