Update bindings.

This commit is contained in:
Hiroyuki Ikezoe 2017-05-13 15:29:22 +09:00
parent d10f3a8ae8
commit 8742ce29cb
3 changed files with 896 additions and 987 deletions

View file

@ -991,11 +991,25 @@ extern "C" {
src: *mut nsStyleDisplay); src: *mut nsStyleDisplay);
} }
extern "C" { extern "C" {
pub fn Gecko_AnimationAppendKeyframe(keyframes: pub fn Gecko_GetOrCreateKeyframeAtStart(keyframes:
RawGeckoKeyframeListBorrowedMut, RawGeckoKeyframeListBorrowedMut,
offset: f32, offset: f32,
timingFunction: timingFunction:
*const nsTimingFunction) *const nsTimingFunction)
-> *mut Keyframe;
}
extern "C" {
pub fn Gecko_GetOrCreateInitialKeyframe(keyframes:
RawGeckoKeyframeListBorrowedMut,
timingFunction:
*const nsTimingFunction)
-> *mut Keyframe;
}
extern "C" {
pub fn Gecko_GetOrCreateFinalKeyframe(keyframes:
RawGeckoKeyframeListBorrowedMut,
timingFunction:
*const nsTimingFunction)
-> *mut Keyframe; -> *mut Keyframe;
} }
extern "C" { extern "C" {
@ -1669,14 +1683,14 @@ extern "C" {
author_style_disabled: bool); author_style_disabled: bool);
} }
extern "C" { extern "C" {
pub fn Servo_StyleSet_FillKeyframesForName(set: RawServoStyleSetBorrowed, pub fn Servo_StyleSet_GetKeyframesForName(set: RawServoStyleSetBorrowed,
property: *const nsACString, property: *const nsACString,
timing_function: timing_function:
nsTimingFunctionBorrowed, nsTimingFunctionBorrowed,
computed_values: computed_values:
ServoComputedValuesBorrowed, ServoComputedValuesBorrowed,
keyframe_list: keyframe_list:
RawGeckoKeyframeListBorrowedMut) RawGeckoKeyframeListBorrowedMut)
-> bool; -> bool;
} }
extern "C" { extern "C" {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff