summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_context.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-19 23:06:27 +0800
committerchai <chaifix@163.com>2019-03-19 23:06:27 +0800
commit1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 (patch)
treef8d1bff50da13e126d08c7345653e002e293202d /Source/3rdParty/Luax/luax_context.cpp
parent5e2a973516e0729b225da9de0b03015dc5854ac4 (diff)
*rename
Diffstat (limited to 'Source/3rdParty/Luax/luax_context.cpp')
-rw-r--r--Source/3rdParty/Luax/luax_context.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/Source/3rdParty/Luax/luax_context.cpp b/Source/3rdParty/Luax/luax_context.cpp
deleted file mode 100644
index d41c24f..0000000
--- a/Source/3rdParty/Luax/luax_context.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "luax_context.h"
-
-namespace Luax
-{
-
- LuaxContext::LuaxContext(lua_State* L)
- : state(L)
- {
- assert(state);
- }
-
- LuaxContext::~LuaxContext()
- {
- }
-
- // ʼcontext
- void LuaxContext::Setup()
- {
- SetupRefTables();
- }
-
- void LuaxContext::SetupRefTables()
- {
- // strong ref weak ref
- strongRefTable.Init(state, "_LUAX_STRONGREF_TABLE");
- weakRefTable.Init(state, "_LUAX_WEAKREF_TABLE", "v");
- }
-
-} \ No newline at end of file