MCPcopy Create free account
hub / github.com/crownengine/crown / luaL_newstate

Function luaL_newstate

3rdparty/lua/src/lauxlib.c:647–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645
646
647LUALIB_API lua_State *luaL_newstate (void) {
648 lua_State *L = lua_newstate(l_alloc, NULL);
649 if (L) lua_atpanic(L, &panic);
650 return L;
651}
652

Callers 1

LuaEnvironmentMethod · 0.50

Calls 2

lua_newstateFunction · 0.70
lua_atpanicFunction · 0.50

Tested by

no test coverage detected