Closed
Bug 585381
Opened 16 years ago
Closed 13 years ago
Implement WebIDL's sequence, array types
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
DUPLICATE
of bug 851726
People
(Reporter: WeirdAl, Unassigned)
References
()
Details
I like the idea of being able to define sequences and arrays in XPIDL. Sure, we have the two-part array definitions:
void foo(in PRUint32 count, [array, size_is(count)] in nsISupports items);
With sequence and array, we might be able to lose an argument:
void foo(in sequence<nsISupports> itemList);
void bar(in nsISupports[] itemList);
We could even conceivably go to multi-dimensional arrays:
typedef supportsList nsISupports[];
typedef supportsMatrix supportsList[];
void foo(in supportsMatrix itemGrid);
Filing under XPCOM, for lack of a better place.
Comment 1•15 years ago
|
||
I'm going to implement just array types in bug 677329.
Comment 2•13 years ago
|
||
Sequences are done; arrays are bug 851726.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•