pub fn new_state() -> Result<LuaState, LuaError>
Create a new LuaState with the default allocator, a panic handler, and warnings disabled. Rust’s allocator is used implicitly; no l_alloc hook is needed.
LuaState
l_alloc