mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Support nullable typed arrays in codegen
This commit is contained in:
parent
e025bbb079
commit
6beb32e28e
3 changed files with 5 additions and 2 deletions
|
@ -492,6 +492,7 @@ impl TestBindingMethods for TestBinding {
|
|||
fn PassNullableInterface(&self, _: Option<&Blob>) {}
|
||||
#[allow(unsafe_code)]
|
||||
unsafe fn PassNullableObject(&self, _: *mut JSContext, _: *mut JSObject) {}
|
||||
fn PassNullableTypedArray(&self, _: CustomAutoRooterGuard<Option<typedarray::Int8Array>>) { }
|
||||
fn PassNullableUnion(&self, _: Option<HTMLElementOrLong>) {}
|
||||
fn PassNullableUnion2(&self, _: Option<EventOrString>) {}
|
||||
fn PassNullableUnion3(&self, _: Option<StringOrLongSequence>) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue