mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Introduce Finite<T: Float> for restricted values defined in WebIDL.
This commit is contained in:
parent
2bf2c0020b
commit
f7fd34c0aa
5 changed files with 114 additions and 30 deletions
|
@ -81,9 +81,9 @@ builtinNames = {
|
|||
IDLType.Tags.uint32: 'u32',
|
||||
IDLType.Tags.uint64: 'u64',
|
||||
IDLType.Tags.unrestricted_float: 'f32',
|
||||
IDLType.Tags.float: 'f32',
|
||||
IDLType.Tags.float: 'Finite<f32>',
|
||||
IDLType.Tags.unrestricted_double: 'f64',
|
||||
IDLType.Tags.double: 'f64'
|
||||
IDLType.Tags.double: 'Finite<f64>'
|
||||
}
|
||||
|
||||
numericTags = [
|
||||
|
@ -4688,6 +4688,7 @@ class CGBindingRoot(CGThing):
|
|||
'dom::bindings::proxyhandler',
|
||||
'dom::bindings::proxyhandler::{fill_property_descriptor, get_expando_object}',
|
||||
'dom::bindings::proxyhandler::{get_property_descriptor}',
|
||||
'dom::bindings::num::Finite',
|
||||
'dom::bindings::str::ByteString',
|
||||
'dom::bindings::str::USVString',
|
||||
'libc',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue