diff options
author | chai <chaifix@163.com> | 2018-11-23 12:24:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-23 12:24:22 +0800 |
commit | 8d4e45c9a85175d0fc37d7d5c49ff90abb01fe4f (patch) | |
tree | 4ca2d0b34366293ad57d77c64e753c9013ccdc21 /src/lua/modules/time/je_lua_time.cpp | |
parent | cfa05003be67344fbc79c338c2ac82f0accd979d (diff) |
*修改lua bind
Diffstat (limited to 'src/lua/modules/time/je_lua_time.cpp')
-rw-r--r-- | src/lua/modules/time/je_lua_time.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/time/je_lua_time.cpp b/src/lua/modules/time/je_lua_time.cpp index 4eb579f..54ab798 100644 --- a/src/lua/modules/time/je_lua_time.cpp +++ b/src/lua/modules/time/je_lua_time.cpp @@ -33,7 +33,7 @@ namespace JinEngine LUA_IMPLEMENT int l_newTimer(lua_State* L) { - Shared<Timer>* shrTimer = new Shared<Timer>(new Timer(), Jin_Lua_Timer); + Shared<Timer>* shrTimer = new Shared<Timer>(L, new Timer(), Jin_Lua_Timer); luax_newinstance(L, Jin_Lua_Timer, shrTimer); return 1; } |