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

Function lua_close

depends/lua/src/lstate.c:341–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339
340
341LUA_API void lua_close (lua_State *L) {
342 L = G(L)->mainthread; /* only the main thread can be closed */
343 lua_lock(L);
344 close_state(L);
345}
346
347

Callers 4

mainFunction · 0.85
mainFunction · 0.85
os_exitFunction · 0.85
~cleanerMethod · 0.85

Calls 1

close_stateFunction · 0.85

Tested by

no test coverage detected