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

Function f_gc

depends/lua/src/liolib.c:222–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221
222static int f_gc (lua_State *L) {
223 LStream *p = tolstream(L);
224 if (!isclosed(p) && p->f != NULL)
225 aux_close(L); /* ignore closed and incompletely open files */
226 return 0;
227}
228
229
230/*

Callers

nothing calls this directly

Calls 1

aux_closeFunction · 0.85

Tested by

no test coverage detected