mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update binding files.
This commit is contained in:
parent
8b1cea5a1d
commit
571d4c272b
3 changed files with 36 additions and 16 deletions
|
@ -1739,10 +1739,6 @@ extern "C" {
|
|||
quirks_mode: nsCompatibility)
|
||||
-> RawServoStyleSheetStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ImportRule_GetSheet(import_rule: RawServoImportRuleBorrowed)
|
||||
-> RawServoStyleSheetStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSheet_ClearAndUpdate(stylesheet:
|
||||
RawServoStyleSheetBorrowed,
|
||||
|
@ -1873,6 +1869,20 @@ extern "C" {
|
|||
pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_CssRules_GetImportRuleAt(rules: ServoCssRulesBorrowed,
|
||||
index: u32, line: *mut u32,
|
||||
column: *mut u32)
|
||||
-> RawServoImportRuleStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ImportRule_Debug(rule: RawServoImportRuleBorrowed,
|
||||
result: *mut nsACString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ImportRule_GetCssText(rule: RawServoImportRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Keyframe_Debug(rule: RawServoKeyframeBorrowed,
|
||||
result: *mut nsACString);
|
||||
|
@ -2000,6 +2010,14 @@ extern "C" {
|
|||
pub fn Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ImportRule_GetHref(rule: RawServoImportRuleBorrowed,
|
||||
result: *mut nsAString);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ImportRule_GetSheet(rule: RawServoImportRuleBorrowed)
|
||||
-> *const RawServoStyleSheet;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Keyframe_GetKeyText(keyframe: RawServoKeyframeBorrowed,
|
||||
result: *mut nsAString);
|
||||
|
|
|
@ -1555,11 +1555,6 @@ pub mod root {
|
|||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct ImportRule {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct Rule {
|
||||
pub _base: root::nsIDOMCSSRule,
|
||||
|
@ -3349,6 +3344,11 @@ pub mod root {
|
|||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CSSImportRule {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CSSRuleList {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
|
@ -6692,6 +6692,7 @@ pub mod root {
|
|||
pub mTitle: ::nsstring::nsStringRepr,
|
||||
pub mDocument: *mut root::nsIDocument,
|
||||
pub mOwningNode: *mut root::nsINode,
|
||||
pub mOwnerRule: *mut root::mozilla::dom::CSSImportRule,
|
||||
pub mMedia: root::RefPtr<root::mozilla::dom::MediaList>,
|
||||
pub mNext: root::RefPtr<root::mozilla::StyleSheet>,
|
||||
pub mParsingMode: root::mozilla::css::SheetParsingMode,
|
||||
|
@ -6786,7 +6787,7 @@ pub mod root {
|
|||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_StyleSheet() {
|
||||
assert_eq!(::std::mem::size_of::<StyleSheet>() , 152usize , concat
|
||||
assert_eq!(::std::mem::size_of::<StyleSheet>() , 160usize , concat
|
||||
! ( "Size of: " , stringify ! ( StyleSheet ) ));
|
||||
assert_eq! (::std::mem::align_of::<StyleSheet>() , 8usize , concat
|
||||
! ( "Alignment of " , stringify ! ( StyleSheet ) ));
|
||||
|
|
|
@ -1479,11 +1479,6 @@ pub mod root {
|
|||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct ImportRule {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct Rule {
|
||||
pub _base: root::nsIDOMCSSRule,
|
||||
|
@ -3254,6 +3249,11 @@ pub mod root {
|
|||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CSSImportRule {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CSSRuleList {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
|
@ -6562,6 +6562,7 @@ pub mod root {
|
|||
pub mTitle: ::nsstring::nsStringRepr,
|
||||
pub mDocument: *mut root::nsIDocument,
|
||||
pub mOwningNode: *mut root::nsINode,
|
||||
pub mOwnerRule: *mut root::mozilla::dom::CSSImportRule,
|
||||
pub mMedia: root::RefPtr<root::mozilla::dom::MediaList>,
|
||||
pub mNext: root::RefPtr<root::mozilla::StyleSheet>,
|
||||
pub mParsingMode: root::mozilla::css::SheetParsingMode,
|
||||
|
@ -6656,7 +6657,7 @@ pub mod root {
|
|||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_StyleSheet() {
|
||||
assert_eq!(::std::mem::size_of::<StyleSheet>() , 144usize , concat
|
||||
assert_eq!(::std::mem::size_of::<StyleSheet>() , 152usize , concat
|
||||
! ( "Size of: " , stringify ! ( StyleSheet ) ));
|
||||
assert_eq! (::std::mem::align_of::<StyleSheet>() , 8usize , concat
|
||||
! ( "Alignment of " , stringify ! ( StyleSheet ) ));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue