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

Function luaG_opinterror

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

Source from the content-addressed store, hash-verified

786
787
788l_noret luaG_opinterror (lua_State *L, const TValue *p1,
789 const TValue *p2, const char *msg) {
790 if (!ttisnumber(p1)) /* first operand is wrong? */
791 p2 = p1; /* now second is wrong */
792 luaG_typeerror(L, p2, msg);
793}
794
795
796/*

Callers 1

luaT_trybinTMFunction · 0.70

Calls 1

luaG_typeerrorFunction · 0.70

Tested by

no test coverage detected