From f4c338c63f3456a8eccd56c35e233843687d55be Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 29 Mar 2019 00:43:25 +0800 Subject: *thread --- source/3rd-party/Luax/luax_context.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 source/3rd-party/Luax/luax_context.h (limited to 'source/3rd-party/Luax/luax_context.h') diff --git a/source/3rd-party/Luax/luax_context.h b/source/3rd-party/Luax/luax_context.h deleted file mode 100644 index 01c5937..0000000 --- a/source/3rd-party/Luax/luax_context.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef __LUAX_CONTEXT_H__ -#define __LUAX_CONTEXT_H__ - -#include "luax_ref.h" -#include "luax_config.h" -#include "luax_state.h" - -namespace Luax -{ - - /// - /// 单个lua_state相关的context。是一系列代理的集合,拷贝也没关系,主要是为了节约内存。 - /// - class LuaxContext - { - public: - LuaxContext(lua_State* L); - ~LuaxContext(); - - void Setup(); - - LuaxState state; // lua state - LuaxRefTable strongRefTable; // strong ref table - LuaxRefTable weakRefTable; // weak ref table - - size_t objectCount; // 统计所有在此state中创建的实例 - - private: - - void SetupRefTables(); - - }; - -} - -#endif \ No newline at end of file -- cgit v1.1-26-g67d0