diff options
author | chai <chaifix@163.com> | 2018-11-15 19:29:27 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-15 19:29:27 +0800 |
commit | 7e51ff3bfae0becc260452a427a1fc1232a4b348 (patch) | |
tree | e2c4cddcd5ed719a611be4c92edf1991a63203c5 /src/lua/modules/time/je_lua_time.cpp | |
parent | a6f2d5fff89b7322009c46a9272668ca4c32ce64 (diff) |
*修改代码结构
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 b0e82de..39ec899 100644 --- a/src/lua/modules/time/je_lua_time.cpp +++ b/src/lua/modules/time/je_lua_time.cpp @@ -54,7 +54,7 @@ namespace JinEngine LUA_EXPORT int luaopen_time(lua_State* L) { - luax_newclass(L, luaopen_Timer); + luaopen_Timer(L); luaL_Reg f[] = { { "second", l_sec }, { "sleep", l_sleep }, |