mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update bindings.
This commit is contained in:
parent
d10f3a8ae8
commit
8742ce29cb
3 changed files with 896 additions and 987 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue