Skip to main content

init

Function init 

Source
pub fn init(state: &mut LuaState) -> Result<(), LuaError>
Expand description

Initialise the lexer subsystem: intern all reserved words and fix them in the GC so they are never collected.

Must be called exactly once during VM startup.