mirror of
https://github.com/servo/servo.git
synced 2025-07-14 10:53:42 +01:00
auto merge of #3942 : Ms2ger/servo/VoidVal, r=jdm
There are no undefined constants in IDL.
This commit is contained in:
commit
182a9a70de
2 changed files with 0 additions and 4 deletions
|
@ -4539,7 +4539,6 @@ class CGBindingRoot(CGThing):
|
||||||
'dom::bindings::utils::{Reflectable}',
|
'dom::bindings::utils::{Reflectable}',
|
||||||
'dom::bindings::utils::{squirrel_away_unique}',
|
'dom::bindings::utils::{squirrel_away_unique}',
|
||||||
'dom::bindings::utils::{ThrowingConstructor, unwrap, unwrap_jsmanaged}',
|
'dom::bindings::utils::{ThrowingConstructor, unwrap, unwrap_jsmanaged}',
|
||||||
'dom::bindings::utils::VoidVal',
|
|
||||||
'dom::bindings::utils::get_dictionary_property',
|
'dom::bindings::utils::get_dictionary_property',
|
||||||
'dom::bindings::utils::{NativeProperties, NativePropertyHooks}',
|
'dom::bindings::utils::{NativeProperties, NativePropertyHooks}',
|
||||||
'dom::bindings::trace::JSTraceable',
|
'dom::bindings::trace::JSTraceable',
|
||||||
|
|
|
@ -198,8 +198,6 @@ pub enum ConstantVal {
|
||||||
BoolVal(bool),
|
BoolVal(bool),
|
||||||
/// `null` constant.
|
/// `null` constant.
|
||||||
NullVal,
|
NullVal,
|
||||||
/// `undefined` constant.
|
|
||||||
VoidVal
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Representation of an IDL constant.
|
/// Representation of an IDL constant.
|
||||||
|
@ -220,7 +218,6 @@ impl ConstantSpec {
|
||||||
UintVal(u) => UInt32Value(u),
|
UintVal(u) => UInt32Value(u),
|
||||||
DoubleVal(d) => DoubleValue(d),
|
DoubleVal(d) => DoubleValue(d),
|
||||||
BoolVal(b) => BooleanValue(b),
|
BoolVal(b) => BooleanValue(b),
|
||||||
VoidVal => UndefinedValue(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue