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

Function tofile

Source/Misc/lua/src/lua.c:11986–11991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11984
11985
11986static FILE *tofile (lua_State *L) {
11987FILE **f = tofilep(L);
11988if (*f == NULL)
11989luaL_error(L, "attempt to use a closed file");
11990return *f;
11991}
11992
11993
11994

Callers 8

io_closeFunction · 0.85
g_iofileFunction · 0.85
f_linesFunction · 0.85
f_readFunction · 0.85
f_writeFunction · 0.85
f_seekFunction · 0.85
f_setvbufFunction · 0.85
f_flushFunction · 0.85

Calls 1

luaL_errorFunction · 0.85

Tested by

no test coverage detected