| 347 | |
| 348 | |
| 349 | LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int narg) { |
| 350 | int isnum; |
| 351 | lua_Integer d = lua_tointegerx(L, narg, &isnum); |
| 352 | if (!isnum) |
| 353 | tag_error(L, narg, LUA_TNUMBER); |
| 354 | return d; |
| 355 | } |
| 356 | |
| 357 | |
| 358 | LUALIB_API lua_Unsigned luaL_checkunsigned (lua_State *L, int narg) { |
no test coverage detected