MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_checkunsigned

Function luaL_checkunsigned

third-party/lua-5.2.4/src/lauxlib.c:398–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396
397
398LUALIB_API lua_Unsigned luaL_checkunsigned (lua_State *L, int narg) {
399 int isnum;
400 lua_Unsigned d = lua_tounsignedx(L, narg, &isnum);
401 if (!isnum)
402 tag_error(L, narg, LUA_TNUMBER);
403 return d;
404}
405
406
407LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg,

Callers 11

math_randomseedFunction · 0.85
andauxFunction · 0.85
b_orFunction · 0.85
b_xorFunction · 0.85
b_notFunction · 0.85
b_lshiftFunction · 0.85
b_rshiftFunction · 0.85
b_arshiftFunction · 0.85
b_rotFunction · 0.85
b_extractFunction · 0.85
b_replaceFunction · 0.85

Calls 2

lua_tounsignedxFunction · 0.85
tag_errorFunction · 0.70

Tested by

no test coverage detected