MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaG_ordererror

Function luaG_ordererror

third-party/lua-5.5.0/src/ldebug.c:807–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805
806
807l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) {
808 const char *t1 = luaT_objtypename(L, p1);
809 const char *t2 = luaT_objtypename(L, p2);
810 if (strcmp(t1, t2) == 0)
811 luaG_runerror(L, "attempt to compare two %s values", t1);
812 else
813 luaG_runerror(L, "attempt to compare %s with %s", t1, t2);
814}
815
816
817l_noret luaG_errnnil (lua_State *L, LClosure *cl, int k) {

Callers 1

luaT_callorderTMFunction · 0.70

Calls 2

luaT_objtypenameFunction · 0.70
luaG_runerrorFunction · 0.70

Tested by

no test coverage detected