diff options
author | chai <chaifix@163.com> | 2018-11-22 16:15:48 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-22 16:15:48 +0800 |
commit | cfa05003be67344fbc79c338c2ac82f0accd979d (patch) | |
tree | 3ed1fa8cdeaf6210b1fd6271f28af24ab41ee55a /src/lua/jin.cpp | |
parent | a0a1e1609fd65c2fe103cfe5a4532b7ccd492c7f (diff) |
*修改argc
Diffstat (limited to 'src/lua/jin.cpp')
-rw-r--r-- | src/lua/jin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/jin.cpp b/src/lua/jin.cpp index f4fcb61..39291ac 100644 --- a/src/lua/jin.cpp +++ b/src/lua/jin.cpp @@ -67,6 +67,8 @@ namespace JinEngine /* register jin module, keep it on the top of stack */ LUA_EXPORT int luaopen_jin(lua_State* L) { + LuaState::set(L); + luax_globaltable(L, MODULE_NAME); // Register values. |