aboutsummaryrefslogtreecommitdiff
path: root/src/lua/common/je_lua_object.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-05 12:34:26 +0800
committerchai <chaifix@163.com>2018-12-05 12:34:26 +0800
commitc78bd640228c0b6b9f7c294793c4f2f58b637c67 (patch)
tree2fbd941f8b88b2d9230e04a8b644e25d48f62476 /src/lua/common/je_lua_object.h
parentadbc170d850a23b219f1718c2cf3e40fadd66ce0 (diff)
*格式化代码
Diffstat (limited to 'src/lua/common/je_lua_object.h')
-rw-r--r--src/lua/common/je_lua_object.h11
1 files changed, 7 insertions, 4 deletions
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<uint, SharedBase*>;
+
lua_State* state;
SharedBase* object;
- std::map<uint, SharedBase*>* dependencies;
-
- private:
- using DepsMap = std::map<uint, SharedBase*>;
+ DepsMap* dependencies;
};