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

Function interror

ThirdParty/lua/lua/lauxlib.c:406–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404
405
406static void interror (lua_State *L, int arg) {
407 if (lua_isnumber(L, arg))
408 luaL_argerror(L, arg, "number has no integer representation");
409 else
410 tag_error(L, arg, LUA_TNUMBER);
411}
412
413
414LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) {

Callers 1

luaL_checkintegerFunction · 0.85

Calls 3

lua_isnumberFunction · 0.85
luaL_argerrorFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected