MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / lua_close

Function lua_close

xrepo/packages/l/lua/port/lua/src/lstate.c:411–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409
410
411LUA_API void lua_close (lua_State *L) {
412 lua_lock(L);
413 L = G(L)->mainthread; /* only the main thread can be closed */
414 close_state(L);
415}
416
417
418void luaE_warning (lua_State *L, const char *msg, int tocont) {

Callers 4

mainFunction · 0.70
mainFunction · 0.70
os_exitFunction · 0.70
skr_lua_closeFunction · 0.50

Calls 1

close_stateFunction · 0.70

Tested by

no test coverage detected