Bug 683096: Make arrays of nsQIResults work. r=ted

This commit is contained in:
Kyle Huey 2011-09-03 09:53:48 -04:00
parent f7ab1e5a89
commit 2531127d09

View File

@ -94,7 +94,9 @@ def build_interface(iface, ifaces):
reference=False)
if isinstance(type, xpidl.Array):
return xpt.ArrayType(get_type(type.type, calltype), size_is,
# NB: For an Array<T> we pass down the iid_is to get the type of T.
# This allows Arrays of InterfaceIs types to work.
return xpt.ArrayType(get_type(type.type, calltype, iid_is), size_is,
#XXXkhuey length_is duplicates size_is (bug 677788),
size_is)