summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_context.cpp
diff options
context:
space:
mode:
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