MCPcopy Create free account
hub / github.com/axmolengine/axmol / luaG_opinterror

Function luaG_opinterror

3rdparty/lua/plainlua/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.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected