Function lua_state

Source
pub fn lua_state() -> LuaThread
Expand description

Create a new lua state with an isolated stack. The new state has access to all the global and tarantool data (Lua variables, tables, modules, etc.).