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

Function io_close

lib/lua/src/liolib.c:228–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227
228static int io_close (lua_State *L) {
229 if (lua_isnone(L, 1)) /* no argument? */
230 lua_getfield(L, LUA_REGISTRYINDEX, IO_OUTPUT); /* use default output */
231 return f_close(L);
232}
233
234
235static int f_gc (lua_State *L) {

Callers

nothing calls this directly

Calls 2

lua_getfieldFunction · 0.85
f_closeFunction · 0.85

Tested by

no test coverage detected