Roger Keays wrote:
>
> Hello all,
>
> From reading the docs on Mozilla.org and browsing the newsgroups
> archives, it looks as though xpidl _does_ support arrays.
>
> Am I correct?
> Where could I go to get more information about this?
> What about other data structures? Could you make an XP stack or linked list?
>
> Thanks in advance,
>
> Roger
I just amended the xpconnect faq with some old postings on
[array].
http://mozilla.org/scriptable/faq.html#i11
There are some container classes in the source tree in xpcom/ds.
There is no support in xpidl for data structures - only primitive
types and interfaces. Unless you use non scriptable [native]
types, the only pointers to objects you can use must be pointers
to xpidl declared interfaces.
John.