MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaG_ordererror

Function luaG_ordererror

freebsd/contrib/openzfs/module/lua/ldebug.c:561–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559
560
561l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) {
562 const char *t1 = objtypename(p1);
563 const char *t2 = objtypename(p2);
564 if (t1 == t2)
565 luaG_runerror(L, "attempt to compare two %s values", t1);
566 else
567 luaG_runerror(L, "attempt to compare %s with %s", t1, t2);
568}
569
570
571static void addinfo (lua_State *L, const char *msg) {

Callers 2

luaV_lessthanFunction · 0.70
luaV_lessequalFunction · 0.70

Calls 1

luaG_runerrorFunction · 0.70

Tested by

no test coverage detected