diff options
author | chai <chaifix@163.com> | 2018-11-26 16:52:14 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-26 16:52:14 +0800 |
commit | 380daad668cd288d98970cdd76d920e3fbf6a374 (patch) | |
tree | 667ffc003e026da18e7c9b10fc3e32bd24e490e9 /src/lua/common/je_lua_shared.hpp | |
parent | f49291959d22b9f05f0c19a31c3f9a8905805014 (diff) |
*lua bind
Diffstat (limited to 'src/lua/common/je_lua_shared.hpp')
-rw-r--r-- | src/lua/common/je_lua_shared.hpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/lua/common/je_lua_shared.hpp b/src/lua/common/je_lua_shared.hpp index c4b70de..5b1d329 100644 --- a/src/lua/common/je_lua_shared.hpp +++ b/src/lua/common/je_lua_shared.hpp @@ -38,25 +38,17 @@ namespace JinEngine bool isType(const char* t); - int getDependencyCount(); + int getDependenciesCount(); const char* getType(); protected: - SharedBase(lua_State* L, void* obj, const char* t) - : mCount(0) - , mObject(obj) - , mL(L) - , mType(t) - { - } + SharedBase(lua_State* L, void* obj, const char* t); + // Disable shared. SharedBase(const SharedBase&); - virtual ~SharedBase() - { - clearDependencies(); - } + virtual ~SharedBase(); using DepsMap = std::map<int, SharedBase*>; |