mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update bindings
This commit is contained in:
parent
3cbc1aa279
commit
b02c786a42
4 changed files with 1164 additions and 1009 deletions
|
@ -4,16 +4,6 @@ pub use nsstring::{nsACString, nsAString, nsString};
|
||||||
type nsACString_internal = nsACString;
|
type nsACString_internal = nsACString;
|
||||||
type nsAString_internal = nsAString;
|
type nsAString_internal = nsAString;
|
||||||
use gecko_bindings::structs::mozilla::css::URLValue;
|
use gecko_bindings::structs::mozilla::css::URLValue;
|
||||||
pub type RawServoMediaListStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoMediaList>;
|
|
||||||
pub type RawServoMediaListBorrowedOrNull<'a> = Option<&'a RawServoMediaList>;
|
|
||||||
pub type RawServoMediaListBorrowed<'a> = &'a RawServoMediaList;
|
|
||||||
enum RawServoMediaListVoid{ }
|
|
||||||
pub struct RawServoMediaList(RawServoMediaListVoid);
|
|
||||||
pub type RawServoMediaRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoMediaRule>;
|
|
||||||
pub type RawServoMediaRuleBorrowedOrNull<'a> = Option<&'a RawServoMediaRule>;
|
|
||||||
pub type RawServoMediaRuleBorrowed<'a> = &'a RawServoMediaRule;
|
|
||||||
enum RawServoMediaRuleVoid{ }
|
|
||||||
pub struct RawServoMediaRule(RawServoMediaRuleVoid);
|
|
||||||
use gecko_bindings::structs::RawGeckoDocument;
|
use gecko_bindings::structs::RawGeckoDocument;
|
||||||
use gecko_bindings::structs::RawGeckoElement;
|
use gecko_bindings::structs::RawGeckoElement;
|
||||||
use gecko_bindings::structs::RawGeckoKeyframeList;
|
use gecko_bindings::structs::RawGeckoKeyframeList;
|
||||||
|
@ -211,6 +201,16 @@ pub struct RawServoImportRule(RawServoImportRuleVoid);
|
||||||
pub type RawServoAnimationValueStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoAnimationValue>;
|
pub type RawServoAnimationValueStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoAnimationValue>;
|
||||||
pub type RawServoAnimationValueBorrowed<'a> = &'a RawServoAnimationValue;
|
pub type RawServoAnimationValueBorrowed<'a> = &'a RawServoAnimationValue;
|
||||||
pub type RawServoAnimationValueBorrowedOrNull<'a> = Option<&'a RawServoAnimationValue>;
|
pub type RawServoAnimationValueBorrowedOrNull<'a> = Option<&'a RawServoAnimationValue>;
|
||||||
|
pub type RawServoMediaListStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoMediaList>;
|
||||||
|
pub type RawServoMediaListBorrowed<'a> = &'a RawServoMediaList;
|
||||||
|
pub type RawServoMediaListBorrowedOrNull<'a> = Option<&'a RawServoMediaList>;
|
||||||
|
enum RawServoMediaListVoid { }
|
||||||
|
pub struct RawServoMediaList(RawServoMediaListVoid);
|
||||||
|
pub type RawServoMediaRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoMediaRule>;
|
||||||
|
pub type RawServoMediaRuleBorrowed<'a> = &'a RawServoMediaRule;
|
||||||
|
pub type RawServoMediaRuleBorrowedOrNull<'a> = Option<&'a RawServoMediaRule>;
|
||||||
|
enum RawServoMediaRuleVoid { }
|
||||||
|
pub struct RawServoMediaRule(RawServoMediaRuleVoid);
|
||||||
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
|
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
|
||||||
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
|
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
|
||||||
pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
|
pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
|
||||||
|
@ -296,24 +296,12 @@ extern "C" {
|
||||||
pub fn Servo_DeclarationBlock_Release(ptr:
|
pub fn Servo_DeclarationBlock_Release(ptr:
|
||||||
RawServoDeclarationBlockBorrowed);
|
RawServoDeclarationBlockBorrowed);
|
||||||
}
|
}
|
||||||
extern "C" {
|
|
||||||
pub fn Servo_MediaList_AddRef(ptr: RawServoMediaListBorrowed);
|
|
||||||
}
|
|
||||||
extern "C" {
|
|
||||||
pub fn Servo_MediaList_Release(ptr: RawServoMediaListBorrowed);
|
|
||||||
}
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_StyleRule_AddRef(ptr: RawServoStyleRuleBorrowed);
|
pub fn Servo_StyleRule_AddRef(ptr: RawServoStyleRuleBorrowed);
|
||||||
}
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_StyleRule_Release(ptr: RawServoStyleRuleBorrowed);
|
pub fn Servo_StyleRule_Release(ptr: RawServoStyleRuleBorrowed);
|
||||||
}
|
}
|
||||||
extern "C" {
|
|
||||||
pub fn Servo_MediaRule_AddRef(ptr: RawServoMediaRuleBorrowed);
|
|
||||||
}
|
|
||||||
extern "C" {
|
|
||||||
pub fn Servo_MediaRule_Release(ptr: RawServoMediaRuleBorrowed);
|
|
||||||
}
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_ImportRule_AddRef(ptr: RawServoImportRuleBorrowed);
|
pub fn Servo_ImportRule_AddRef(ptr: RawServoImportRuleBorrowed);
|
||||||
}
|
}
|
||||||
|
@ -326,6 +314,18 @@ extern "C" {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_AnimationValue_Release(ptr: RawServoAnimationValueBorrowed);
|
pub fn Servo_AnimationValue_Release(ptr: RawServoAnimationValueBorrowed);
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_MediaList_AddRef(ptr: RawServoMediaListBorrowed);
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_MediaList_Release(ptr: RawServoMediaListBorrowed);
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_MediaRule_AddRef(ptr: RawServoMediaRuleBorrowed);
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_MediaRule_Release(ptr: RawServoMediaRuleBorrowed);
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned);
|
pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned);
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -2616,6 +2616,8 @@ cfg_if! {
|
||||||
pub static nsGkAtoms_widget: *mut nsIAtom;
|
pub static nsGkAtoms_widget: *mut nsIAtom;
|
||||||
#[link_name = "_ZN9nsGkAtoms5widthE"]
|
#[link_name = "_ZN9nsGkAtoms5widthE"]
|
||||||
pub static nsGkAtoms_width: *mut nsIAtom;
|
pub static nsGkAtoms_width: *mut nsIAtom;
|
||||||
|
#[link_name = "_ZN9nsGkAtoms10willChangeE"]
|
||||||
|
pub static nsGkAtoms_willChange: *mut nsIAtom;
|
||||||
#[link_name = "_ZN9nsGkAtoms6windowE"]
|
#[link_name = "_ZN9nsGkAtoms6windowE"]
|
||||||
pub static nsGkAtoms_window: *mut nsIAtom;
|
pub static nsGkAtoms_window: *mut nsIAtom;
|
||||||
#[link_name = "_ZN9nsGkAtoms18headerWindowTargetE"]
|
#[link_name = "_ZN9nsGkAtoms18headerWindowTargetE"]
|
||||||
|
@ -7543,6 +7545,8 @@ cfg_if! {
|
||||||
pub static nsGkAtoms_widget: *mut nsIAtom;
|
pub static nsGkAtoms_widget: *mut nsIAtom;
|
||||||
#[link_name = "?width@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
#[link_name = "?width@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
pub static nsGkAtoms_width: *mut nsIAtom;
|
pub static nsGkAtoms_width: *mut nsIAtom;
|
||||||
|
#[link_name = "?willChange@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
|
pub static nsGkAtoms_willChange: *mut nsIAtom;
|
||||||
#[link_name = "?window@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
#[link_name = "?window@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
pub static nsGkAtoms_window: *mut nsIAtom;
|
pub static nsGkAtoms_window: *mut nsIAtom;
|
||||||
#[link_name = "?headerWindowTarget@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
#[link_name = "?headerWindowTarget@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
|
@ -12470,6 +12474,8 @@ cfg_if! {
|
||||||
pub static nsGkAtoms_widget: *mut nsIAtom;
|
pub static nsGkAtoms_widget: *mut nsIAtom;
|
||||||
#[link_name = "\x01?width@nsGkAtoms@@2PAVnsIAtom@@A"]
|
#[link_name = "\x01?width@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
pub static nsGkAtoms_width: *mut nsIAtom;
|
pub static nsGkAtoms_width: *mut nsIAtom;
|
||||||
|
#[link_name = "\x01?willChange@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
|
pub static nsGkAtoms_willChange: *mut nsIAtom;
|
||||||
#[link_name = "\x01?window@nsGkAtoms@@2PAVnsIAtom@@A"]
|
#[link_name = "\x01?window@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
pub static nsGkAtoms_window: *mut nsIAtom;
|
pub static nsGkAtoms_window: *mut nsIAtom;
|
||||||
#[link_name = "\x01?headerWindowTarget@nsGkAtoms@@2PAVnsIAtom@@A"]
|
#[link_name = "\x01?headerWindowTarget@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
|
@ -17400,6 +17406,8 @@ macro_rules! atom {
|
||||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_widget as *mut _) } };
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_widget as *mut _) } };
|
||||||
("width") =>
|
("width") =>
|
||||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_width as *mut _) } };
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_width as *mut _) } };
|
||||||
|
("will-change") =>
|
||||||
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_willChange as *mut _) } };
|
||||||
("window") =>
|
("window") =>
|
||||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_window as *mut _) } };
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_window as *mut _) } };
|
||||||
("window-target") =>
|
("window-target") =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue