MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / f_gc

Function f_gc

extlibs/lua/src/liolib.c:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

aux_closeFunction · 0.85

Tested by

no test coverage detected