From b0f640b5a9eb954ecb575582f07a0ba4159f4a3d Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sat, 13 May 2017 07:50:59 +0900 Subject: [PATCH] Update bindings --- components/style/gecko/generated/bindings.rs | 25 +++++++++++--------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index c365ff677a1..13fe500e0c4 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -250,16 +250,16 @@ pub type RawServoSupportsRuleBorrowed<'a> = &'a RawServoSupportsRule; pub type RawServoSupportsRuleBorrowedOrNull<'a> = Option<&'a RawServoSupportsRule>; enum RawServoSupportsRuleVoid { } pub struct RawServoSupportsRule(RawServoSupportsRuleVoid); -pub type RawServoRuleNodeStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoRuleNodeBorrowed<'a> = &'a RawServoRuleNode; -pub type RawServoRuleNodeBorrowedOrNull<'a> = Option<&'a RawServoRuleNode>; -enum RawServoRuleNodeVoid { } -pub struct RawServoRuleNode(RawServoRuleNodeVoid); pub type RawServoDocumentRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoDocumentRuleBorrowed<'a> = &'a RawServoDocumentRule; pub type RawServoDocumentRuleBorrowedOrNull<'a> = Option<&'a RawServoDocumentRule>; enum RawServoDocumentRuleVoid { } pub struct RawServoDocumentRule(RawServoDocumentRuleVoid); +pub type RawServoRuleNodeStrong = ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoRuleNodeBorrowed<'a> = &'a RawServoRuleNode; +pub type RawServoRuleNodeBorrowedOrNull<'a> = Option<&'a RawServoRuleNode>; +enum RawServoRuleNodeVoid { } +pub struct RawServoRuleNode(RawServoRuleNodeVoid); pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned; pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet; @@ -421,18 +421,18 @@ extern "C" { extern "C" { pub fn Servo_SupportsRule_Release(ptr: RawServoSupportsRuleBorrowed); } -extern "C" { - pub fn Servo_RuleNode_AddRef(ptr: RawServoRuleNodeBorrowed); -} -extern "C" { - pub fn Servo_RuleNode_Release(ptr: RawServoRuleNodeBorrowed); -} extern "C" { pub fn Servo_DocumentRule_AddRef(ptr: RawServoDocumentRuleBorrowed); } extern "C" { pub fn Servo_DocumentRule_Release(ptr: RawServoDocumentRuleBorrowed); } +extern "C" { + pub fn Servo_RuleNode_AddRef(ptr: RawServoRuleNodeBorrowed); +} +extern "C" { + pub fn Servo_RuleNode_Release(ptr: RawServoRuleNodeBorrowed); +} extern "C" { pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned); } @@ -1587,6 +1587,9 @@ extern "C" { URLMatchingFunction) -> bool; } +extern "C" { + pub fn Gecko_SetJemallocThreadLocalArena(enabled: bool); +} extern "C" { pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed); }