MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaG_opinterror

Function luaG_opinterror

3rd/lua-5.4.3/src/ldebug.c:723–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721
722
723l_noret luaG_opinterror (lua_State *L, const TValue *p1,
724 const TValue *p2, const char *msg) {
725 if (!ttisnumber(p1)) /* first operand is wrong? */
726 p2 = p1; /* now second is wrong */
727 luaG_typeerror(L, p2, msg);
728}
729
730
731/*

Callers 1

luaT_trybinTMFunction · 0.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected