MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / call_binTM

Function call_binTM

lua/lvm.c:174–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

luaV_concatFunction · 0.85
ArithFunction · 0.85
luaV_executeFunction · 0.85

Calls 2

luaT_gettmbyobjFunction · 0.85
callTMresFunction · 0.85

Tested by

no test coverage detected