MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / interror

Function interror

src/Chain/libraries/glua/lauxlib.cpp:425–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 3

lua_isnumberFunction · 0.85
luaL_argerrorFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected