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

This commit is contained in:
Kyle Huey 2011-09-02 17:36:48 -04:00
parent 5aba5a29af
commit 007e7042d6

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)