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

Function l_checktime

extlibs/lua/src/loslib.c:291–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289
290
291static time_t l_checktime (lua_State *L, int arg) {
292 l_timet t = l_gettime(L, arg);
293 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds");
294 return (time_t)t;
295}
296
297
298/* maximum size for an individual 'strftime' item */

Callers 1

os_difftimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected