aboutsummaryrefslogtreecommitdiff
path: root/src/lua/luaopen_jin.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-31 19:16:12 +0800
committerchai <chaifix@163.com>2018-07-31 19:16:12 +0800
commit7398463cd602c4b355f5b25ecf3049489ec14ea6 (patch)
treecade038ac611799dc3d861ec82a1f014e6cc3adc /src/lua/luaopen_jin.cpp
parent67241b8841a5ccb01667c70cff260e64beb7c598 (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 1d95ebf..7f84467 100644
--- a/src/lua/luaopen_jin.cpp
+++ b/src/lua/luaopen_jin.cpp
@@ -17,6 +17,7 @@ namespace lua
extern int luaopen_keyboard(lua_State* L);
extern int luaopen_filesystem(lua_State* L);
extern int luaopen_joypad(lua_State* L);
+ extern int luaopen_math(lua_State* L);
static int l_getversion(lua_State* L)
{
@@ -68,6 +69,7 @@ namespace lua
//{"net", luaopen_net},
{"audio", luaopen_audio},
{"joypad", luaopen_joypad},
+ {"math", luaopen_math},
{0, 0}
};