On 4/11/14 10:41 PM, Boris Zbarsky wrote:
4) A reference to a WebIDL-binding object which inherits from both
nsWrapperCache and nsISupports.
5) A reference to any C++ type which singly-inherits from nsISupports
(e.g. any nsIFoo).
6) An nsRefPtr or nsCOMPtr around an object that satisfies the
conditions of #4 or #5.
Oh, importantly: this does NOT support null pointers. So far no one has
needed arrays of object-or-null; if that comes up we'll figure out a way
to do it (e.g. by null-checking).
-Boris
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform