每个线程对应一个虚拟机

This commit is contained in:
崔一鸣
2019-04-22 16:23:03 +08:00
parent 34e58f972f
commit a3d83e74f3
2 changed files with 52 additions and 61 deletions

View File

@@ -97,13 +97,6 @@ public:
std::vector<lua_State*> coroutines;
};
class lua_plug{
public:
std::string file_path;
enum lua_entry_type entry_type;
lua_State *lua_state;
};
#ifdef __cplusplus
extern "C" {
#endif