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

Function luaT_callorderTM

third-party/lua-5.3.5/src/ltm.c:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157
158int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2,
159 TMS event) {
160 if (!luaT_callbinTM(L, p1, p2, L->top, event))
161 return -1; /* no metamethod */
162 else
163 return !l_isfalse(L->top);
164}
165

Callers 2

luaV_lessthanFunction · 0.70
luaV_lessequalFunction · 0.70

Calls 1

luaT_callbinTMFunction · 0.85

Tested by

no test coverage detected