| 368 | |
| 369 | |
| 370 | static 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 |
nothing calls this directly
no test coverage detected