| 193 | |
| 194 | |
| 195 | static int os_difftime (lua_State *L) { |
| 196 | lua_pushnumber(L, difftime((time_t)(luaL_checknumber(L, 1)), |
| 197 | (time_t)(luaL_optnumber(L, 2, 0)))); |
| 198 | return 1; |
| 199 | } |
| 200 | |
| 201 | /* }====================================================== */ |
| 202 |
nothing calls this directly
no test coverage detected