| 15017 | |
| 15018 | |
| 15019 | static int call_orderTM (lua_State *L, const TValue *p1, const TValue *p2, |
| 15020 | TMS event) { |
| 15021 | const TValue *tm1 = luaT_gettmbyobj(L, p1, event); |
| 15022 | const TValue *tm2; |
| 15023 | if (ttisnil(tm1)) return -1; /* no metamethod? */ |
| 15024 | tm2 = luaT_gettmbyobj(L, p2, event); |
| 15025 | if (!luaO_rawequalObj(tm1, tm2)) /* different metamethods? */ |
| 15026 | return -1; |
| 15027 | callTMres(L, L->top, tm1, p1, p2); |
| 15028 | return !l_isfalse(L->top); |
| 15029 | } |
| 15030 | |
| 15031 | |
| 15032 | static int l_strcmp (const TString *ls, const TString *rs) { |
no test coverage detected