diff options
author | chai <chaifix@163.com> | 2018-12-06 20:04:05 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-06 20:04:05 +0800 |
commit | 37f1d11f9e1f7b9f336b509f3afb6dd61bb5ffee (patch) | |
tree | 23085471a30b4756923aba6b907832e5d5271845 /src/lua/common/je_lua.cpp | |
parent | 0085588ebb89f8655081c98efcb3b988f4be1d76 (diff) |
*misc
Diffstat (limited to 'src/lua/common/je_lua.cpp')
-rw-r--r-- | src/lua/common/je_lua.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/common/je_lua.cpp b/src/lua/common/je_lua.cpp index 0b6c498..73f671c 100644 --- a/src/lua/common/je_lua.cpp +++ b/src/lua/common/je_lua.cpp @@ -33,6 +33,11 @@ namespace JinEngine return obj; } + LuaObject* luax_checkobject(lua_State* L, int idx, const char* type) + { + return (LuaObject*)luax_checktype(L, idx, type); + } + LuaObject* luax_copyinstance(lua_State* to, LuaObject* src) { if (to == src->state) |