Skip to main content

new_state

Function new_state 

Source
pub fn new_state() -> Result<LuaState, LuaError>
Expand description

Create a new LuaState with the default allocator, a panic handler, and warnings disabled.