summaryrefslogtreecommitdiff
path: root/source/3rd-party
diff options
context:
space:
mode:
Diffstat (limited to 'source/3rd-party')
-rw-r--r--source/3rd-party/Luax/luax_class.hpp2
-rw-r--r--source/3rd-party/Luax/luax_vm.cpp5
-rw-r--r--source/3rd-party/Luax/luax_vm.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/source/3rd-party/Luax/luax_class.hpp b/source/3rd-party/Luax/luax_class.hpp
index 257e1ca..bfb1a4d 100644
--- a/source/3rd-party/Luax/luax_class.hpp
+++ b/source/3rd-party/Luax/luax_class.hpp
@@ -177,8 +177,6 @@ namespace Luax
///
LuaxWeakRef mUserdata;
- public:
-
//
LUAX_DECL_METHOD( _Tostring );
LUAX_DECL_METHOD( l_GetClass );
diff --git a/source/3rd-party/Luax/luax_vm.cpp b/source/3rd-party/Luax/luax_vm.cpp
index 5e9d1f5..4dc7e0c 100644
--- a/source/3rd-party/Luax/luax_vm.cpp
+++ b/source/3rd-party/Luax/luax_vm.cpp
@@ -58,6 +58,11 @@ namespace Luax
return mMainThread;
}
+ LuaxState LuaxVM::GetMainState()
+ {
+ return mMainThread;
+ }
+
LuaxRefTable& LuaxVM::GetStrongRefTable()
{
return mStrongRefTable;
diff --git a/source/3rd-party/Luax/luax_vm.h b/source/3rd-party/Luax/luax_vm.h
index 1bac71e..3eda3f8 100644
--- a/source/3rd-party/Luax/luax_vm.h
+++ b/source/3rd-party/Luax/luax_vm.h
@@ -35,6 +35,7 @@ namespace Luax
lua_State* GetMainThread();
lua_State* CreateThread();
+ LuaxState GetMainState();
LuaxRefTable& GetStrongRefTable();
LuaxRefTable& GetWeakRefTable();