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

Function call_binTM

freebsd/contrib/openzfs/module/lua/lvm.c:176–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175
176static int call_binTM (lua_State *L, const TValue *p1, const TValue *p2,
177 StkId res, TMS event) {
178 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */
179 if (ttisnil(tm))
180 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */
181 if (ttisnil(tm)) return 0;
182 callTM(L, tm, p1, p2, res, 1);
183 return 1;
184}
185
186
187static const TValue *get_equalTM (lua_State *L, Table *mt1, Table *mt2,

Callers 3

call_orderTMFunction · 0.70
luaV_concatFunction · 0.70
luaV_arithFunction · 0.70

Calls 2

luaT_gettmbyobjFunction · 0.70
callTMFunction · 0.70

Tested by

no test coverage detected