MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / luaG_opinterror

Function luaG_opinterror

xrepo/packages/l/lua/port/lua/src/ldebug.c:764–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762
763
764l_noret luaG_opinterror (lua_State *L, const TValue *p1,
765 const TValue *p2, const char *msg) {
766 if (!ttisnumber(p1)) /* first operand is wrong? */
767 p2 = p1; /* now second is wrong */
768 luaG_typeerror(L, p2, msg);
769}
770
771
772/*

Callers 1

luaT_trybinTMFunction · 0.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected