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

Function luaG_opinterror

third-party/lua-5.4.6/src/ldebug.c:793–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791
792
793l_noret luaG_opinterror (lua_State *L, const TValue *p1,
794 const TValue *p2, const char *msg) {
795 if (!ttisnumber(p1)) /* first operand is wrong? */
796 p2 = p1; /* now second is wrong */
797 luaG_typeerror(L, p2, msg);
798}
799
800
801/*

Callers 1

luaT_trybinTMFunction · 0.70

Calls 1

luaG_typeerrorFunction · 0.70

Tested by

no test coverage detected