mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1240053 - Consider the order of methods, their params, and constant important when comparing XPT interfaces to decide whether to relink XPT files; r=khuey
This commit is contained in:
parent
8812ae2f5a
commit
a992bfe736
@ -736,7 +736,7 @@ class Method(object):
|
||||
cmp(self.hidden, other.hidden) or
|
||||
cmp(self.optargc, other.optargc) or
|
||||
cmp(self.implicit_jscontext, other.implicit_jscontext) or
|
||||
cmp(sorted(self.params), sorted(other.params)) or
|
||||
cmp(self.params, other.params) or
|
||||
cmp(self.result, other.result)
|
||||
)
|
||||
|
||||
@ -1018,8 +1018,8 @@ class Interface(object):
|
||||
if c != 0:
|
||||
return c
|
||||
return (
|
||||
cmp(sorted(self.methods), sorted(other.methods)) or
|
||||
cmp(sorted(self.constants), sorted(other.constants)) or
|
||||
cmp(self.methods, other.methods) or
|
||||
cmp(self.constants, other.constants) or
|
||||
cmp(self.scriptable, other.scriptable) or
|
||||
cmp(self.function, other.function) or
|
||||
cmp(self.builtinclass, other.builtinclass) or
|
||||
|
Loading…
Reference in New Issue
Block a user