| 14992 | |
| 14993 | |
| 14994 | static int call_binTM (lua_State *L, const TValue *p1, const TValue *p2, |
| 14995 | StkId res, TMS event) { |
| 14996 | const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ |
| 14997 | if (ttisnil(tm)) |
| 14998 | tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ |
| 14999 | if (ttisnil(tm)) return 0; |
| 15000 | callTMres(L, res, tm, p1, p2); |
| 15001 | return 1; |
| 15002 | } |
| 15003 | |
| 15004 | |
| 15005 | static const TValue *get_compTM (lua_State *L, Table *mt1, Table *mt2, |
no test coverage detected