DescriptionIDL: Support union type arrays and sequences for method arguments
toImplArray() template can convert arrays (or sequences) of T to
Vector<T> when T has NativeValueTraits. Generate them for union type
containers so that we can use (A or B)[] (or sequence<(A or B)>)
in method arguments.
Note that we can't use union type arrays and sequences for
return values yet. Follow-up CLs will support return values.
BUG=240176
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185096
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Total comments: 1
Patch Set 3 : #Patch Set 4 : #Messages
Total messages: 10 (2 generated)
|