style: Update Gecko bindings.

This commit is contained in:
Cameron McCormack 2017-06-08 09:37:33 +08:00
parent f492c8fe6e
commit 18d847227c
3 changed files with 4188 additions and 4433 deletions

View file

@ -587,6 +587,12 @@ extern "C" {
pub fn Gecko_GetElementId(element: RawGeckoElementBorrowed)
-> *mut nsIAtom;
}
extern "C" {
pub fn Gecko_MatchLang(element: RawGeckoElementBorrowed,
override_lang: *mut nsIAtom,
has_override_lang: bool, value: *const u16)
-> bool;
}
extern "C" {
pub fn Gecko_GetXMLLangValue(element: RawGeckoElementBorrowed)
-> *mut nsIAtom;
@ -595,6 +601,9 @@ extern "C" {
pub fn Gecko_AtomAttrValue(element: RawGeckoElementBorrowed,
attribute: *mut nsIAtom) -> *mut nsIAtom;
}
extern "C" {
pub fn Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsIAtom;
}
extern "C" {
pub fn Gecko_HasAttr(element: RawGeckoElementBorrowed, ns: *mut nsIAtom,
name: *mut nsIAtom) -> bool;
@ -639,6 +648,10 @@ extern "C" {
attribute: *mut nsIAtom)
-> *mut nsIAtom;
}
extern "C" {
pub fn Gecko_SnapshotLangValue(element: *const ServoElementSnapshot)
-> *mut nsIAtom;
}
extern "C" {
pub fn Gecko_SnapshotHasAttr(element: *const ServoElementSnapshot,
ns: *mut nsIAtom, name: *mut nsIAtom)
@ -2210,8 +2223,7 @@ extern "C" {
from: *const RawGeckoGfxMatrix4x4,
to: *const RawGeckoGfxMatrix4x4,
progress: f64,
result:
*mut RawGeckoGfxMatrix4x4);
result: *mut RawGeckoGfxMatrix4x4);
}
extern "C" {
pub fn Servo_AnimationValues_Interpolate(from:

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff