| 387 | |
| 388 | |
| 389 | LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int narg) { |
| 390 | int isnum; |
| 391 | lua_Integer d = lua_tointegerx(L, narg, &isnum); |
| 392 | if (!isnum) |
| 393 | tag_error(L, narg, LUA_TNUMBER); |
| 394 | return d; |
| 395 | } |
| 396 | |
| 397 | |
| 398 | LUALIB_API lua_Unsigned luaL_checkunsigned (lua_State *L, int narg) { |
no test coverage detected