Update bindings.

MozReview-Commit-ID: 8hyaJxfSi9L
This commit is contained in:
Bobby Holley 2017-09-28 14:11:18 -07:00
parent ffa03380ca
commit e2c0ca5110

View file

@ -1560,6 +1560,17 @@ extern "C" {
extern "C" { extern "C" {
pub fn Gecko_ShouldCreateStyleThreadPool() -> bool; pub fn Gecko_ShouldCreateStyleThreadPool() -> bool;
} }
extern "C" {
pub fn Gecko_GetSystemPageSize() -> usize;
}
extern "C" {
pub fn Gecko_ProtectBuffer(buffer: *mut ::std::os::raw::c_void,
size: usize);
}
extern "C" {
pub fn Gecko_UnprotectBuffer(buffer: *mut ::std::os::raw::c_void,
size: usize);
}
extern "C" { extern "C" {
pub fn Gecko_Construct_Default_nsStyleFont(ptr: *mut nsStyleFont, pub fn Gecko_Construct_Default_nsStyleFont(ptr: *mut nsStyleFont,
pres_context: pres_context:
@ -2989,6 +3000,10 @@ extern "C" {
*const ServoRawOffsetArc<RustString>) *const ServoRawOffsetArc<RustString>)
-> ServoRawOffsetArc<RustString>; -> ServoRawOffsetArc<RustString>;
} }
extern "C" {
pub fn Servo_CorruptRuleHashAndCrash(set: RawServoStyleSetBorrowed,
index: usize);
}
extern "C" { extern "C" {
pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet, pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet,
loader: *mut Loader, uri: *mut nsIURI) loader: *mut Loader, uri: *mut nsIURI)