luaL_newstate
[-0, +0, โ]
lua_State *luaL_newstate (void);
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 (see ยง4.6) 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.
Please login to continue.