mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Add bindings for constructing nsStyleQuoteValues
MozReview-Commit-ID: EjuzgZKMpPp
This commit is contained in:
parent
2bde9462b1
commit
17a46418dc
2 changed files with 15 additions and 1 deletions
|
@ -228,7 +228,7 @@ COMPILATION_TARGETS = {
|
|||
"StyleBasicShapeType", "StyleBasicShape", "nsCSSShadowArray",
|
||||
"nsIPrincipal", "nsIURI",
|
||||
"RawGeckoNode", "RawGeckoElement", "RawGeckoDocument",
|
||||
"nsString"
|
||||
"nsString", "nsStyleQuoteValues"
|
||||
],
|
||||
"servo_nullable_arc_types": [
|
||||
"ServoComputedValues", "RawServoStyleSheet",
|
||||
|
|
|
@ -164,6 +164,9 @@ use gecko_bindings::structs::RawGeckoNode;
|
|||
use gecko_bindings::structs::RawGeckoElement;
|
||||
use gecko_bindings::structs::RawGeckoDocument;
|
||||
use gecko_bindings::structs::nsString;
|
||||
use gecko_bindings::structs::nsStyleQuoteValues;
|
||||
unsafe impl Send for nsStyleQuoteValues {}
|
||||
unsafe impl Sync for nsStyleQuoteValues {}
|
||||
|
||||
extern "C" {
|
||||
pub fn Gecko_EnsureTArrayCapacity(aArray: *mut ::std::os::raw::c_void,
|
||||
|
@ -543,6 +546,17 @@ extern "C" {
|
|||
pub fn Gecko_ReleaseCSSShadowArrayArbitraryThread(aPtr:
|
||||
*mut nsCSSShadowArray);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_NewStyleQuoteValues(len: u32) -> *mut nsStyleQuoteValues;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AddRefQuoteValuesArbitraryThread(aPtr:
|
||||
*mut nsStyleQuoteValues);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ReleaseQuoteValuesArbitraryThread(aPtr:
|
||||
*mut nsStyleQuoteValues);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_Construct_nsStyleFont(ptr: *mut nsStyleFont);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue