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

Function io_close

extlibs/lua/src/liolib.c:216–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214
215
216static int io_close (lua_State *L) {
217 if (lua_isnone(L, 1)) /* no argument? */
218 lua_getfield(L, LUA_REGISTRYINDEX, IO_OUTPUT); /* use default output */
219 return f_close(L);
220}
221
222
223static 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