mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update binding files.
This commit is contained in:
parent
ff1ac8346f
commit
21e0c10995
4 changed files with 1060 additions and 770 deletions
|
@ -2382,6 +2382,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_splitter: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms6springE"]
|
||||
pub static nsGkAtoms_spring: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms6squareE"]
|
||||
pub static nsGkAtoms_square: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms3srcE"]
|
||||
pub static nsGkAtoms_src: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms6srcdocE"]
|
||||
|
@ -7395,6 +7397,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_splitter: *mut nsIAtom;
|
||||
#[link_name = "?spring@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_spring: *mut nsIAtom;
|
||||
#[link_name = "?square@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_square: *mut nsIAtom;
|
||||
#[link_name = "?src@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_src: *mut nsIAtom;
|
||||
#[link_name = "?srcdoc@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -12408,6 +12412,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_splitter: *mut nsIAtom;
|
||||
#[link_name = "\x01?spring@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_spring: *mut nsIAtom;
|
||||
#[link_name = "\x01?square@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_square: *mut nsIAtom;
|
||||
#[link_name = "\x01?src@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_src: *mut nsIAtom;
|
||||
#[link_name = "\x01?srcdoc@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
|
@ -17424,6 +17430,8 @@ macro_rules! atom {
|
|||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_splitter as *mut _) } };
|
||||
("spring") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spring as *mut _) } };
|
||||
("square") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_square as *mut _) } };
|
||||
("src") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_src as *mut _) } };
|
||||
("srcdoc") =>
|
||||
|
|
|
@ -43,6 +43,7 @@ use gecko_bindings::structs::StyleBasicShape;
|
|||
use gecko_bindings::structs::StyleBasicShapeType;
|
||||
use gecko_bindings::structs::StyleShapeSource;
|
||||
use gecko_bindings::structs::StyleTransition;
|
||||
use gecko_bindings::structs::nsCSSCounterStyleRule;
|
||||
use gecko_bindings::structs::nsCSSFontFaceRule;
|
||||
use gecko_bindings::structs::nsCSSKeyword;
|
||||
use gecko_bindings::structs::nsCSSPropertyID;
|
||||
|
@ -813,7 +814,8 @@ extern "C" {
|
|||
aSrc: *const nsStyleVisibility);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetListStyleType(style_struct: *mut nsStyleList, type_: u32);
|
||||
pub fn Gecko_SetListStyleType(style_struct: *mut nsStyleList,
|
||||
name: *mut nsIAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyListStyleTypeFrom(dst: *mut nsStyleList,
|
||||
|
@ -833,11 +835,15 @@ extern "C" {
|
|||
pub fn Gecko_ReleaseImageValueArbitraryThread(aPtr: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ImageValue_Create(uri: ServoBundledURI) -> *mut ImageValue;
|
||||
pub fn Gecko_ImageValue_Create(aURI: ServoBundledURI) -> *mut ImageValue;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetLayerImageImageValue(image: *mut nsStyleImage,
|
||||
imageValue: *mut ImageValue);
|
||||
aImageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetUrlImageValue(image: *mut nsStyleImage,
|
||||
uri: ServoBundledURI);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetImageElement(image: *mut nsStyleImage,
|
||||
|
@ -860,7 +866,11 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetListStyleImageImageValue(style_struct: *mut nsStyleList,
|
||||
imageValue: *mut ImageValue);
|
||||
aImageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetListStyleImage(style_struct: *mut nsStyleList,
|
||||
uri: ServoBundledURI);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList,
|
||||
|
@ -871,16 +881,24 @@ extern "C" {
|
|||
len: usize);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetCursorImageValue(cursor: *mut nsCursorImage,
|
||||
imageValue: *mut ImageValue);
|
||||
pub fn Gecko_SetCursorImageValue(aCursor: *mut nsCursorImage,
|
||||
aImageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetCursorImage(cursor: *mut nsCursorImage,
|
||||
uri: ServoBundledURI);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyCursorArrayFrom(dest: *mut nsStyleUserInterface,
|
||||
src: *const nsStyleUserInterface);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetContentDataImageValue(content_data: *mut nsStyleContentData,
|
||||
imageValue: *mut ImageValue);
|
||||
pub fn Gecko_SetContentDataImageValue(aList: *mut nsStyleContentData,
|
||||
aImageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetContentDataImage(content_data: *mut nsStyleContentData,
|
||||
uri: ServoBundledURI);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetContentDataArray(content_data: *mut nsStyleContentData,
|
||||
|
@ -1157,9 +1175,6 @@ extern "C" {
|
|||
pub fn Gecko_CSSValue_SetAbsoluteLength(css_value: nsCSSValueBorrowedMut,
|
||||
len: nscoord);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetNormal(css_value: nsCSSValueBorrowedMut);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetNumber(css_value: nsCSSValueBorrowedMut,
|
||||
number: f32);
|
||||
|
@ -1206,6 +1221,18 @@ extern "C" {
|
|||
pub fn Gecko_CSSValue_SetInt(css_value: nsCSSValueBorrowedMut,
|
||||
integer: i32, unit: nsCSSUnit);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetPair(css_value: nsCSSValueBorrowedMut,
|
||||
xvalue: nsCSSValueBorrowed,
|
||||
yvalue: nsCSSValueBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetList(css_value: nsCSSValueBorrowedMut, len: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetPairList(css_value: nsCSSValueBorrowedMut,
|
||||
len: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
|
||||
}
|
||||
|
@ -1272,6 +1299,22 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_CSSFontFaceRule_Release(aPtr: *mut nsCSSFontFaceRule);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSCounterStyle_Create(name: *mut nsIAtom)
|
||||
-> *mut nsCSSCounterStyleRule;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSCounterStyle_GetCssText(rule:
|
||||
*const nsCSSCounterStyleRule,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSCounterStyleRule_AddRef(aPtr: *mut nsCSSCounterStyleRule);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSCounterStyleRule_Release(aPtr:
|
||||
*mut nsCSSCounterStyleRule);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetBody(pres_context: RawGeckoPresContextBorrowed)
|
||||
-> RawGeckoElementBorrowedOrNull;
|
||||
|
@ -1706,6 +1749,11 @@ extern "C" {
|
|||
list:
|
||||
RawGeckoFontFaceRuleListBorrowedMut);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_GetCounterStyleRule(set: RawServoStyleSetBorrowed,
|
||||
name: *mut nsIAtom)
|
||||
-> *mut nsCSSCounterStyleRule;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_ResolveForDeclarations(set:
|
||||
RawServoStyleSetBorrowed,
|
||||
|
@ -1832,6 +1880,11 @@ extern "C" {
|
|||
index: u32)
|
||||
-> *mut nsCSSFontFaceRule;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_CssRules_GetCounterStyleRuleAt(rules: ServoCssRulesBorrowed,
|
||||
index: u32)
|
||||
-> *mut nsCSSCounterStyleRule;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed)
|
||||
-> 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