mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 695214 - Make xpidl.py enforce [retval] parameters coming last. r=khuey
This commit is contained in:
parent
25126a6a12
commit
009717fc44
@ -938,6 +938,8 @@ class Method(object):
|
||||
self.location)
|
||||
self.iface.ops['stringifier'] = self
|
||||
for p in self.params:
|
||||
if p.retval and p != self.params[-1]:
|
||||
raise IDLError("'retval' parameter '%s' is not the last parameter" % p.name, self.location)
|
||||
if p.size_is:
|
||||
found_size_param = False
|
||||
for size_param in self.params:
|
||||
|
Loading…
Reference in New Issue
Block a user