mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make ParsingMode bitflags.
assert_parsing_mode_match() is mostly the same as assert_restyle_hints_match().
This commit is contained in:
parent
fcc50ea421
commit
b6b3187efa
19 changed files with 88 additions and 58 deletions
|
@ -334,6 +334,7 @@ mod bindings {
|
|||
.bitfield_enum("nsChangeHint")
|
||||
.bitfield_enum("nsRestyleHint")
|
||||
.constified_enum("UpdateAnimationsTasks")
|
||||
.constified_enum("ParsingMode")
|
||||
.parse_callbacks(Box::new(Callbacks));
|
||||
let whitelist_vars = [
|
||||
"NS_AUTHOR_SPECIFIED_.*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue