mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Use handleOptional for the enumeration conversion.
This commit is contained in:
parent
13e26e0fe0
commit
89d4fac36e
3 changed files with 3 additions and 3 deletions
|
@ -127,7 +127,7 @@ impl TestBinding {
|
|||
pub fn PassOptionalFloat(&self, _: Option<f32>) {}
|
||||
pub fn PassOptionalDouble(&self, _: Option<f64>) {}
|
||||
pub fn PassOptionalString(&self, _: Option<DOMString>) {}
|
||||
// pub fn PassOptionalEnum(&self, _: Option<TestEnum>) {}
|
||||
pub fn PassOptionalEnum(&self, _: Option<TestEnum>) {}
|
||||
pub fn PassOptionalInterface(&self, _: Option<JS<Blob>>) {}
|
||||
pub fn PassOptionalUnion(&self, _: Option<HTMLElementOrLong>) {}
|
||||
pub fn PassOptionalAny(&self, _: *JSContext, _: Option<JSVal>) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue