style: update bindings.

This commit is contained in:
Emilio Cobos Álvarez 2017-09-06 12:50:41 +02:00
parent 7d2e2e25d6
commit d8234fef82
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 744 additions and 477 deletions

View file

@ -1087,8 +1087,8 @@ extern "C" {
extern "C" {
pub fn Gecko_CalcStyleDifference(old_style: ServoStyleContextBorrowed,
new_style: ServoStyleContextBorrowed,
old_style_bits: u64,
any_style_changed: *mut bool) -> u32;
any_style_changed: *mut bool,
reset_only_changed: *mut bool) -> u32;
}
extern "C" {
pub fn Gecko_GetElementSnapshot(table: *const ServoElementSnapshotTable,
@ -1969,6 +1969,11 @@ extern "C" {
RawServoStyleSheetContentsBorrowed)
-> usize;
}
extern "C" {
pub fn Servo_StyleSheet_GetSourceMapURL(sheet:
RawServoStyleSheetContentsBorrowed,
result: *mut nsAString);
}
extern "C" {
pub fn Servo_StyleSheet_GetOrigin(sheet:
RawServoStyleSheetContentsBorrowed)