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

Function luaT_callorderTM

third-party/lua-5.5.0/src/ltm.c:200–207  ·  view source on GitHub ↗

** Calls an order tag method. */

Source from the content-addressed store, hash-verified

198** Calls an order tag method.
199*/
200int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2,
201 TMS event) {
202 int tag = callbinTM(L, p1, p2, L->top.p, event); /* try original event */
203 if (tag >= 0) /* found tag method? */
204 return !tagisfalse(tag);
205 luaG_ordererror(L, p1, p2); /* no metamethod found */
206 return 0; /* to avoid warnings */
207}
208
209
210int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2,

Callers 3

lessthanothersFunction · 0.70
lessequalothersFunction · 0.70
luaT_callorderiTMFunction · 0.70

Calls 2

callbinTMFunction · 0.70
luaG_ordererrorFunction · 0.70

Tested by

no test coverage detected