| 135 | |
| 136 | |
| 137 | static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2, |
| 138 | StkId res, TMS event) { |
| 139 | const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ |
| 140 | if (notm(tm)) |
| 141 | tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ |
| 142 | if (notm(tm)) return 0; |
| 143 | luaT_callTMres(L, tm, p1, p2, res); |
| 144 | return 1; |
| 145 | } |
| 146 | |
| 147 | |
| 148 | void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, |
no test coverage detected