MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / f_gc

Function f_gc

lib/lua/src/liolib.c:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234
235static int f_gc (lua_State *L) {
236 LStream *p = tolstream(L);
237 if (!isclosed(p) && p->f != NULL)
238 aux_close(L); /* ignore closed and incompletely open files */
239 return 0;
240}
241
242
243/*

Callers

nothing calls this directly

Calls 1

aux_closeFunction · 0.85

Tested by

no test coverage detected