MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / luaL_checkinteger

Function luaL_checkinteger

ThirdParty/lua/lua/lauxlib.c:414–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413
414LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) {
415 int isnum;
416 lua_Integer d = lua_tointegerx(L, arg, &isnum);
417 if (!isnum) {
418 interror(L, arg);
419 }
420 return d;
421}
422
423
424LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg,

Callers 15

luaB_tonumberFunction · 0.85
ipairsaux_rawFunction · 0.85
ipairsauxFunction · 0.85
luaB_selectFunction · 0.85
math_ultFunction · 0.85
math_randomFunction · 0.85
math_ldexpFunction · 0.85
str_subFunction · 0.85
str_repFunction · 0.85
str_charFunction · 0.85
str_formatFunction · 0.85
str_packFunction · 0.85

Calls 2

lua_tointegerxFunction · 0.85
interrorFunction · 0.85

Tested by

no test coverage detected