MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / luaG_opinterror

Function luaG_opinterror

src/Chain/libraries/glua/ldebug.cpp:602–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600
601
602void luaG_opinterror(lua_State *L, const TValue *p1,
603 const TValue *p2, const char *msg) {
604 lua_Number temp;
605 if (!tonumber(p1, &temp)) /* first operand is wrong? */
606 p2 = p1; /* now second is wrong */
607 luaG_typeerror(L, p2, msg);
608}
609
610
611/*

Callers 1

luaT_trybinTMFunction · 0.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected