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

Function interror

third-party/lua-5.3.5/src/lauxlib.c:422–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420
421
422static void interror (lua_State *L, int arg) {
423 if (lua_isnumber(L, arg))
424 luaL_argerror(L, arg, "number has no integer representation");
425 else
426 tag_error(L, arg, LUA_TNUMBER);
427}
428
429
430LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) {

Callers 1

luaL_checkintegerFunction · 0.70

Calls 3

lua_isnumberFunction · 0.70
luaL_argerrorFunction · 0.70
tag_errorFunction · 0.70

Tested by

no test coverage detected