mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Support sequences of sequences in generated bindings.
unroll recursively gets the inner type of any sequence type encountered, so it's inappropriate for codegen that only wants the immediate inner type. However, if a type identifies as a sequence and is nullable, we need to reach through the nullable wrapper first. Gecko does very similar things.
This commit is contained in:
parent
2df5d705e1
commit
9ef848b65e
3 changed files with 24 additions and 5 deletions
|
@ -409,6 +409,10 @@ interface TestBinding {
|
|||
void passVariadicAny(any... args);
|
||||
void passVariadicObject(object... args);
|
||||
|
||||
void passSequenceSequence(sequence<sequence<long>> seq);
|
||||
sequence<sequence<long>> returnSequenceSequence();
|
||||
void passUnionSequenceSequence((long or sequence<sequence<long>>) seq);
|
||||
|
||||
static attribute boolean booleanAttributeStatic;
|
||||
static void receiveVoidStatic();
|
||||
boolean BooleanMozPreference(DOMString pref_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue