| 289 | |
| 290 | |
| 291 | static 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 */ |