mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update binding files.
This commit is contained in:
parent
767e10b29d
commit
81af3be034
1 changed files with 37 additions and 4 deletions
|
@ -244,6 +244,11 @@ pub type RawServoPageRuleBorrowed<'a> = &'a RawServoPageRule;
|
|||
pub type RawServoPageRuleBorrowedOrNull<'a> = Option<&'a RawServoPageRule>;
|
||||
enum RawServoPageRuleVoid { }
|
||||
pub struct RawServoPageRule(RawServoPageRuleVoid);
|
||||
pub type RawServoSupportsRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoSupportsRule>;
|
||||
pub type RawServoSupportsRuleBorrowed<'a> = &'a RawServoSupportsRule;
|
||||
pub type RawServoSupportsRuleBorrowedOrNull<'a> = Option<&'a RawServoSupportsRule>;
|
||||
enum RawServoSupportsRuleVoid { }
|
||||
pub struct RawServoSupportsRule(RawServoSupportsRuleVoid);
|
||||
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
|
||||
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
|
||||
pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
|
||||
|
@ -399,6 +404,12 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Servo_PageRule_Release(ptr: RawServoPageRuleBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_SupportsRule_AddRef(ptr: RawServoSupportsRuleBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_SupportsRule_Release(ptr: RawServoSupportsRuleBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned);
|
||||
}
|
||||
|
@ -1665,6 +1676,10 @@ extern "C" {
|
|||
pub fn Servo_MediaRule_GetCssText(rule: RawServoMediaRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_MediaRule_GetRules(rule: RawServoMediaRuleBorrowed)
|
||||
-> ServoCssRulesStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_CssRules_GetNamespaceRuleAt(rules: ServoCssRulesBorrowed,
|
||||
index: u32)
|
||||
|
@ -1690,6 +1705,23 @@ extern "C" {
|
|||
pub fn Servo_PageRule_GetCssText(rule: RawServoPageRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_CssRules_GetSupportsRuleAt(rules: ServoCssRulesBorrowed,
|
||||
index: u32)
|
||||
-> RawServoSupportsRuleStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_SupportsRule_Debug(rule: RawServoSupportsRuleBorrowed,
|
||||
result: *mut nsACString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_SupportsRule_GetCssText(rule: RawServoSupportsRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_SupportsRule_GetRules(rule: RawServoSupportsRuleBorrowed)
|
||||
-> ServoCssRulesStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_CssRules_GetFontFaceRuleAt(rules: ServoCssRulesBorrowed,
|
||||
index: u32)
|
||||
|
@ -1712,10 +1744,6 @@ extern "C" {
|
|||
pub fn Servo_MediaRule_GetMedia(rule: RawServoMediaRuleBorrowed)
|
||||
-> RawServoMediaListStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_MediaRule_GetRules(rule: RawServoMediaRuleBorrowed)
|
||||
-> ServoCssRulesStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
|
@ -1733,6 +1761,11 @@ extern "C" {
|
|||
declarations:
|
||||
RawServoDeclarationBlockBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_SupportsRule_GetConditionText(rule:
|
||||
RawServoSupportsRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ParseProperty(property: nsCSSPropertyID,
|
||||
value: *const nsACString,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue