summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/3rdParty/Luax/luax_runtime.h')
-rw-r--r--Source/3rdParty/Luax/luax_runtime.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/Source/3rdParty/Luax/luax_runtime.h b/Source/3rdParty/Luax/luax_runtime.h
index fe70580..cb8b66b 100644
--- a/Source/3rdParty/Luax/luax_runtime.h
+++ b/Source/3rdParty/Luax/luax_runtime.h
@@ -3,30 +3,15 @@
#include <map>
+#include "luax_ref.h"
#include "luax_config.h"
#include "luax_state.h"
+#include "luax_context.h"
namespace Luax
{
///
- /// lua_stateصcontextһϵдļϣҲûϵҪΪ˽Լڴ档
- ///
- class Context
- {
- public:
- Context(lua_State* L);
- ~Context();
-
- LuaxState state; // lua state
- LuaxRefTable strongRefTable; // strong ref table
- LuaxRefTable weakRefTable; // weak ref table
-
- size_t objectCount; // ͳڴstateдʵ
-
- };
-
- ///
/// ͳһеlua states
///
class LuaxRuntime