From c78bd640228c0b6b9f7c294793c4f2f58b637c67 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 5 Dec 2018 12:34:26 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/common/je_lua_object.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/lua/common/je_lua_object.h') diff --git a/src/lua/common/je_lua_object.h b/src/lua/common/je_lua_object.h index c2f0195..15fa6e4 100644 --- a/src/lua/common/je_lua_object.h +++ b/src/lua/common/je_lua_object.h @@ -57,14 +57,17 @@ namespace JinEngine int getDependenciesCount(); + ////////////////////////////////////////////////////////////////////////////////////////////////////// + // Lua state object. + ////////////////////////////////////////////////////////////////////////////////////////////////////// + + using DepsMap = std::map; + lua_State* state; SharedBase* object; - std::map* dependencies; - - private: - using DepsMap = std::map; + DepsMap* dependencies; }; -- cgit v1.1-26-g67d0