Function gluac_rs::compiler [−][src]
pub fn compiler() -> Result<BytecodeCompiler, LuaError>
Expand description
Creates a new bytecode compiler instance.
When dropped, it will close the Lua state and free any used dynamic memory.
Thread safety
The bytecode compiler instance’s Lua state is locked behind a Mutex to ensure concurrency safety.