pub unsafe extern "C" fn newstate() -> lua_State
Expand description
Creates a new Lua state.
It calls lua_newstate
with an allocator based on the standard C realloc function and then sets a panic function that prints an error message to the standard error output in case of fatal errors.
Returns the new state, or NULL
if there is a memory allocation error.