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

Function luaG_opinterror

extlibs/lua/src/ldebug.c:714–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712
713
714l_noret luaG_opinterror (lua_State *L, const TValue *p1,
715 const TValue *p2, const char *msg) {
716 if (!ttisnumber(p1)) /* first operand is wrong? */
717 p2 = p1; /* now second is wrong */
718 luaG_typeerror(L, p2, msg);
719}
720
721
722/*

Callers 1

luaT_trybinTMFunction · 0.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected