MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / luaL_newstate

Function luaL_newstate

src/Chain/libraries/glua/lauxlib.cpp:3028–3032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3026
3027
3028LUALIB_API lua_State *luaL_newstate(void) {
3029 lua_State *L = lua_newstate(l_alloc, nullptr);
3030 if (L) lua_atpanic(L, &panic);
3031 return L;
3032}
3033
3034
3035LUALIB_API void luaL_checkversion_(lua_State *L, lua_Number ver, size_t sz) {

Callers 3

create_lua_stateFunction · 0.85
main2Function · 0.85
main1Function · 0.85

Calls 1

lua_newstateFunction · 0.85

Tested by

no test coverage detected