MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / io_gc

Function io_gc

Source/Misc/lua/src/lua.c:12056–12062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12054
12055
12056static int io_gc (lua_State *L) {
12057FILE *f = *tofilep(L);
12058/* ignore closed files */
12059if (f != NULL)
12060aux_close(L);
12061return 0;
12062}
12063
12064
12065static int io_tostring (lua_State *L) {

Callers

nothing calls this directly

Calls 1

aux_closeFunction · 0.85

Tested by

no test coverage detected