MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaG_opinterror

Function luaG_opinterror

lib/lua/src/ldebug.c:784–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

luaT_trybinTMFunction · 0.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected