aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcomponents/style/binding_tools/regen.py2
-rw-r--r--components/style/gecko_bindings/bindings.rs14
2 files changed, 15 insertions, 1 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py
index d179cc879f4..792b24e9656 100755
--- a/components/style/binding_tools/regen.py
+++ b/components/style/binding_tools/regen.py
@@ -228,7 +228,7 @@ COMPILATION_TARGETS = {
"StyleBasicShapeType", "StyleBasicShape", "nsCSSShadowArray",
"nsIPrincipal", "nsIURI",
"RawGeckoNode", "RawGeckoElement", "RawGeckoDocument",
- "nsString"
+ "nsString", "nsStyleQuoteValues"
],
"servo_nullable_arc_types": [
"ServoComputedValues", "RawServoStyleSheet",
diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs
index a7efe16be71..4def95850e1 100644
--- a/components/style/gecko_bindings/bindings.rs
+++ b/components/style/gecko_bindings/bindings.rs
@@ -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,
@@ -544,6 +547,17 @@ extern "C" {
*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);
}
extern "C" {