luaL_newstatelua_State *luaL_newstate (void);
Creates a new Lua state, calling lua_newstate with an
allocation function based on the standard C realloc function
and setting a panic function (see lua_atpanic) 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.