aboutsummaryrefslogtreecommitdiff
path: root/src/lua/luaopen_jin.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-07 11:51:37 +0800
committerchai <chaifix@163.com>2018-08-07 11:51:37 +0800
commita46931ada5343e8f5b863719c733f5bfc91c663f (patch)
tree243e77ea0ca1aa5a4b7a235be62efde22914b96e /src/lua/luaopen_jin.cpp
parente4eeedbd6faaef380b58236745856b50cebf4461 (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 7f84467..4113ffe 100644
--- a/src/lua/luaopen_jin.cpp
+++ b/src/lua/luaopen_jin.cpp
@@ -18,6 +18,7 @@ namespace lua
extern int luaopen_filesystem(lua_State* L);
extern int luaopen_joypad(lua_State* L);
extern int luaopen_math(lua_State* L);
+ extern int luaopen_thread(lua_State* L);
static int l_getversion(lua_State* L)
{
@@ -70,6 +71,7 @@ namespace lua
{"audio", luaopen_audio},
{"joypad", luaopen_joypad},
{"math", luaopen_math},
+ {"thread", luaopen_thread},
{0, 0}
};