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

Function os_difftime

extlibs/lua/src/loslib.c:370–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368
369
370static int os_difftime (lua_State *L) {
371 time_t t1 = l_checktime(L, 1);
372 time_t t2 = l_checktime(L, 2);
373 lua_pushnumber(L, (lua_Number)difftime(t1, t2));
374 return 1;
375}
376
377/* }====================================================== */
378

Callers

nothing calls this directly

Calls 2

l_checktimeFunction · 0.85
lua_pushnumberFunction · 0.85

Tested by

no test coverage detected