MCPcopy Create free account
hub / github.com/DFHack/dfhack / luaL_newstate

Function luaL_newstate

depends/lua/src/lauxlib.c:1031–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029
1030
1031LUALIB_API lua_State *luaL_newstate (void) {
1032 lua_State *L = lua_newstate(l_alloc, NULL);
1033 if (L) lua_atpanic(L, &panic);
1034 return L;
1035}
1036
1037
1038LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver, size_t sz) {

Callers 4

InitSimulationThreadMethod · 0.85
OpenMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

lua_newstateFunction · 0.85

Tested by

no test coverage detected