| 432 | |
| 433 | |
| 434 | static void interror (lua_State *L, int arg) { |
| 435 | if (lua_isnumber(L, arg)) |
| 436 | luaL_argerror(L, arg, "number has no integer representation"); |
| 437 | else |
| 438 | tag_error(L, arg, LUA_TNUMBER); |
| 439 | } |
| 440 | |
| 441 | |
| 442 | LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) { |
no test coverage detected