mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Use handleOptional for interface conversion.
This commit is contained in:
parent
7c3480de60
commit
54d2e8e235
3 changed files with 4 additions and 4 deletions
|
@ -145,7 +145,7 @@ impl TestBinding {
|
|||
pub fn PassOptionalNullableDouble(&self, _: Option<Option<f64>>) {}
|
||||
pub fn PassOptionalNullableString(&self, _: Option<Option<DOMString>>) {}
|
||||
// pub fn PassOptionalNullableEnum(&self, _: Option<Option<TestEnum>>) {}
|
||||
// pub fn PassOptionalNullableInterface(&self, _: Option<Option<JS<Blob>>>) {}
|
||||
pub fn PassOptionalNullableInterface(&self, _: Option<Option<JS<Blob>>>) {}
|
||||
pub fn PassOptionalNullableUnion(&self, _: Option<Option<HTMLElementOrLong>>) {}
|
||||
|
||||
pub fn PassOptionalBooleanWithDefault(&self, _: bool) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue