mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update binding files.
This commit is contained in:
parent
0a57dbc110
commit
5c9152e3df
3 changed files with 4364 additions and 3329 deletions
|
@ -8,6 +8,7 @@ use gecko_bindings::structs::RawGeckoDocument;
|
||||||
use gecko_bindings::structs::RawGeckoElement;
|
use gecko_bindings::structs::RawGeckoElement;
|
||||||
use gecko_bindings::structs::RawGeckoKeyframeList;
|
use gecko_bindings::structs::RawGeckoKeyframeList;
|
||||||
use gecko_bindings::structs::RawGeckoComputedKeyframeValuesList;
|
use gecko_bindings::structs::RawGeckoComputedKeyframeValuesList;
|
||||||
|
use gecko_bindings::structs::RawGeckoFontFaceRuleList;
|
||||||
use gecko_bindings::structs::RawGeckoNode;
|
use gecko_bindings::structs::RawGeckoNode;
|
||||||
use gecko_bindings::structs::RawGeckoAnimationValueList;
|
use gecko_bindings::structs::RawGeckoAnimationValueList;
|
||||||
use gecko_bindings::structs::RawServoAnimationValue;
|
use gecko_bindings::structs::RawServoAnimationValue;
|
||||||
|
@ -31,9 +32,11 @@ use gecko_bindings::structs::SheetParsingMode;
|
||||||
use gecko_bindings::structs::StyleBasicShape;
|
use gecko_bindings::structs::StyleBasicShape;
|
||||||
use gecko_bindings::structs::StyleBasicShapeType;
|
use gecko_bindings::structs::StyleBasicShapeType;
|
||||||
use gecko_bindings::structs::StyleShapeSource;
|
use gecko_bindings::structs::StyleShapeSource;
|
||||||
|
use gecko_bindings::structs::nsCSSFontFaceRule;
|
||||||
use gecko_bindings::structs::nsCSSKeyword;
|
use gecko_bindings::structs::nsCSSKeyword;
|
||||||
use gecko_bindings::structs::nsCSSPropertyID;
|
use gecko_bindings::structs::nsCSSPropertyID;
|
||||||
use gecko_bindings::structs::nsCSSShadowArray;
|
use gecko_bindings::structs::nsCSSShadowArray;
|
||||||
|
use gecko_bindings::structs::nsCSSUnit;
|
||||||
use gecko_bindings::structs::nsCSSValue;
|
use gecko_bindings::structs::nsCSSValue;
|
||||||
use gecko_bindings::structs::nsCSSValueSharedList;
|
use gecko_bindings::structs::nsCSSValueSharedList;
|
||||||
use gecko_bindings::structs::nsChangeHint;
|
use gecko_bindings::structs::nsChangeHint;
|
||||||
|
@ -281,6 +284,10 @@ pub type RawGeckoComputedKeyframeValuesListBorrowed<'a> = &'a RawGeckoComputedKe
|
||||||
pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> = Option<&'a RawGeckoComputedKeyframeValuesList>;
|
pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> = Option<&'a RawGeckoComputedKeyframeValuesList>;
|
||||||
pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> = &'a mut RawGeckoComputedKeyframeValuesList;
|
pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> = &'a mut RawGeckoComputedKeyframeValuesList;
|
||||||
pub type RawGeckoComputedKeyframeValuesListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoComputedKeyframeValuesList>;
|
pub type RawGeckoComputedKeyframeValuesListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoComputedKeyframeValuesList>;
|
||||||
|
pub type RawGeckoFontFaceRuleListBorrowed<'a> = &'a RawGeckoFontFaceRuleList;
|
||||||
|
pub type RawGeckoFontFaceRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoFontFaceRuleList>;
|
||||||
|
pub type RawGeckoFontFaceRuleListBorrowedMut<'a> = &'a mut RawGeckoFontFaceRuleList;
|
||||||
|
pub type RawGeckoFontFaceRuleListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoFontFaceRuleList>;
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_EnsureTArrayCapacity(aArray: *mut ::std::os::raw::c_void,
|
pub fn Gecko_EnsureTArrayCapacity(aArray: *mut ::std::os::raw::c_void,
|
||||||
|
@ -951,6 +958,9 @@ extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetAbsoluteLength(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetAbsoluteLength(css_value: nsCSSValueBorrowedMut,
|
||||||
len: nscoord);
|
len: nscoord);
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_CSSValue_SetNormal(css_value: nsCSSValueBorrowedMut);
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetNumber(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetNumber(css_value: nsCSSValueBorrowedMut,
|
||||||
number: f32);
|
number: f32);
|
||||||
|
@ -977,11 +987,13 @@ extern "C" {
|
||||||
}
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetString(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetString(css_value: nsCSSValueBorrowedMut,
|
||||||
string: *const u8, len: u32);
|
string: *const u8, len: u32,
|
||||||
|
unit: nsCSSUnit);
|
||||||
}
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetIdent(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetStringFromAtom(css_value: nsCSSValueBorrowedMut,
|
||||||
string: *const u8, len: u32);
|
atom: *mut nsIAtom,
|
||||||
|
unit: nsCSSUnit);
|
||||||
}
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut,
|
||||||
|
@ -992,12 +1004,8 @@ extern "C" {
|
||||||
uri: ServoBundledURI);
|
uri: ServoBundledURI);
|
||||||
}
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetLocal(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetInt(css_value: nsCSSValueBorrowedMut,
|
||||||
family: nsString);
|
integer: i32, unit: nsCSSUnit);
|
||||||
}
|
|
||||||
extern "C" {
|
|
||||||
pub fn Gecko_CSSValue_SetInteger(css_value: nsCSSValueBorrowedMut,
|
|
||||||
integer: i32);
|
|
||||||
}
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
|
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
|
||||||
|
@ -1030,6 +1038,19 @@ extern "C" {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_GetMediaFeatures() -> *const nsMediaFeature;
|
pub fn Gecko_GetMediaFeatures() -> *const nsMediaFeature;
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_CSSFontFaceRule_Create() -> *mut nsCSSFontFaceRule;
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_CSSFontFaceRule_GetCssText(rule: *const nsCSSFontFaceRule,
|
||||||
|
result: *mut nsAString);
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_CSSFontFaceRule_AddRef(aPtr: *mut nsCSSFontFaceRule);
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_CSSFontFaceRule_Release(aPtr: *mut nsCSSFontFaceRule);
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_GetLookAndFeelSystemColor(color_id: i32,
|
pub fn Gecko_GetLookAndFeelSystemColor(color_id: i32,
|
||||||
pres_context:
|
pres_context:
|
||||||
|
@ -1440,6 +1461,11 @@ extern "C" {
|
||||||
RawGeckoKeyframeListBorrowedMut)
|
RawGeckoKeyframeListBorrowedMut)
|
||||||
-> bool;
|
-> bool;
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_StyleSet_GetFontFaceRules(set: RawServoStyleSetBorrowed,
|
||||||
|
list:
|
||||||
|
RawGeckoFontFaceRuleListBorrowedMut);
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed,
|
pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed,
|
||||||
result: nsTArrayBorrowed_uintptr_t);
|
result: nsTArrayBorrowed_uintptr_t);
|
||||||
|
@ -1494,6 +1520,11 @@ extern "C" {
|
||||||
pub fn Servo_NamespaceRule_GetCssText(rule: RawServoNamespaceRuleBorrowed,
|
pub fn Servo_NamespaceRule_GetCssText(rule: RawServoNamespaceRuleBorrowed,
|
||||||
result: *mut nsAString);
|
result: *mut nsAString);
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_CssRules_GetFontFaceRuleAt(rules: ServoCssRulesBorrowed,
|
||||||
|
index: u32)
|
||||||
|
-> *mut nsCSSFontFaceRule;
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed)
|
pub fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed)
|
||||||
-> RawServoDeclarationBlockStrong;
|
-> RawServoDeclarationBlockStrong;
|
||||||
|
|
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