aboutsummaryrefslogtreecommitdiff
path: root/src/lua/common/je_lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-05 15:47:41 +0800
committerchai <chaifix@163.com>2018-12-05 15:47:41 +0800
commitd14d3de517e3bea5470ba42a4d1646cca77c2d25 (patch)
treefcc9e18b37b0e3cbddd8715fe093dc6e0a5945fe /src/lua/common/je_lua.h
parentf6a902ebd5743d54321e1232dae40f15041be5a6 (diff)
*lua reference
Diffstat (limited to 'src/lua/common/je_lua.h')
-rw-r--r--src/lua/common/je_lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/common/je_lua.h b/src/lua/common/je_lua.h
index 5f9ebb3..24f89fe 100644
--- a/src/lua/common/je_lua.h
+++ b/src/lua/common/je_lua.h
@@ -23,9 +23,9 @@ namespace JinEngine
LuaObject* luax_newinstance(lua_State* L, const char* type, SharedBase* shared);
///
+ /// Copy instance to another lua state.
///
- ///
- LuaObject* luax_newinstance(lua_State* L, LuaObject* src);
+ LuaObject* luax_copyinstance(lua_State* to, LuaObject* src);
///
/// Access lua object by object pointer.