move generator script execution to an isolated Lua state
This commit is contained in:
@@ -546,9 +546,13 @@ namespace lua {
|
||||
return 0;
|
||||
}
|
||||
int create_environment(lua::State*, int parent);
|
||||
void removeEnvironment(lua::State*, int id);
|
||||
void remove_environment(lua::State*, int id);
|
||||
void dump_stack(lua::State*);
|
||||
|
||||
inline void close(lua::State* L) {
|
||||
lua_close(L);
|
||||
}
|
||||
|
||||
inline void addfunc(
|
||||
lua::State* L, const std::string& name, lua_CFunction func
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user