mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update Stylo bindings
This commit is contained in:
parent
8144aa1163
commit
f6fe439d1e
5 changed files with 38 additions and 3 deletions
|
@ -188,6 +188,7 @@ use gecko_bindings::structs::Loader;
|
|||
use gecko_bindings::structs::ServoStyleSheet;
|
||||
use gecko_bindings::structs::EffectCompositor_CascadeLevel;
|
||||
use gecko_bindings::structs::UpdateAnimationsTasks;
|
||||
use gecko_bindings::structs::LengthParsingMode;
|
||||
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
|
||||
pub type ServoCssRulesStrong = ::gecko_bindings::sugar::ownership::Strong<ServoCssRules>;
|
||||
pub type ServoCssRulesBorrowed<'a> = &'a ServoCssRules;
|
||||
|
@ -1817,8 +1818,9 @@ extern "C" {
|
|||
property: *const nsACString,
|
||||
value: *const nsACString,
|
||||
is_important: bool,
|
||||
data: *mut RawGeckoURLExtraData)
|
||||
-> bool;
|
||||
data: *mut RawGeckoURLExtraData,
|
||||
length_parsing_mode:
|
||||
LengthParsingMode) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_SetPropertyById(declarations:
|
||||
|
@ -1827,7 +1829,9 @@ extern "C" {
|
|||
value: *const nsACString,
|
||||
is_important: bool,
|
||||
data:
|
||||
*mut RawGeckoURLExtraData)
|
||||
*mut RawGeckoURLExtraData,
|
||||
length_parsing_mode:
|
||||
LengthParsingMode)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
|
|
|
@ -6126,6 +6126,13 @@ pub mod root {
|
|||
"Alignment of field: " , stringify ! ( URLExtraData )
|
||||
, "::" , stringify ! ( mPrincipal ) ));
|
||||
}
|
||||
pub mod dmd {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::super::root;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct JSONWriteFunc([u8; 0]);
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum ArenaObjectID {
|
||||
|
@ -6653,6 +6660,9 @@ pub mod root {
|
|||
root::mozilla::UpdateAnimationsTasks =
|
||||
8;
|
||||
pub type UpdateAnimationsTasks = u8;
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum LengthParsingMode { Default = 0, SVG = 1, }
|
||||
pub type CSSPseudoElementTypeBase = u8;
|
||||
pub const CSSPseudoElementType_InheritingAnonBox:
|
||||
root::mozilla::CSSPseudoElementType =
|
||||
|
|
|
@ -6029,6 +6029,13 @@ pub mod root {
|
|||
"Alignment of field: " , stringify ! ( URLExtraData )
|
||||
, "::" , stringify ! ( mPrincipal ) ));
|
||||
}
|
||||
pub mod dmd {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::super::root;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct JSONWriteFunc([u8; 0]);
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum ArenaObjectID {
|
||||
|
@ -6556,6 +6563,9 @@ pub mod root {
|
|||
root::mozilla::UpdateAnimationsTasks =
|
||||
8;
|
||||
pub type UpdateAnimationsTasks = u8;
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum LengthParsingMode { Default = 0, SVG = 1, }
|
||||
pub type CSSPseudoElementTypeBase = u8;
|
||||
pub const CSSPseudoElementType_InheritingAnonBox:
|
||||
root::mozilla::CSSPseudoElementType =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue