MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_newstate

Function luaL_newstate

third-party/lua-5.4.6/src/lauxlib.c:1108–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106
1107
1108LUALIB_API lua_State *luaL_newstate (void) {
1109 lua_State *L = lua_newstate(l_alloc, NULL);
1110 if (l_likely(L)) {
1111 lua_atpanic(L, &panic);
1112 lua_setwarnf(L, warnfoff, L); /* default is warnings off */
1113 }
1114 return L;
1115}
1116
1117
1118LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver, size_t sz) {

Callers 4

mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.50
mainFunction · 0.50

Calls 2

lua_newstateFunction · 0.70
lua_setwarnfFunction · 0.70

Tested by

no test coverage detected