mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Include bindings for StyleGridTemplate
This commit is contained in:
parent
a811776df4
commit
00bb0d6a12
2 changed files with 11 additions and 0 deletions
|
@ -400,6 +400,7 @@ mod bindings {
|
||||||
"nsStyleFont",
|
"nsStyleFont",
|
||||||
"nsStyleGradient",
|
"nsStyleGradient",
|
||||||
"nsStyleGradientStop",
|
"nsStyleGradientStop",
|
||||||
|
"nsStyleGridTemplate",
|
||||||
"nsStyleImage",
|
"nsStyleImage",
|
||||||
"nsStyleImageLayers",
|
"nsStyleImageLayers",
|
||||||
"nsStyleList",
|
"nsStyleList",
|
||||||
|
@ -657,6 +658,7 @@ mod bindings {
|
||||||
"nsStyleFont",
|
"nsStyleFont",
|
||||||
"nsStyleGradient",
|
"nsStyleGradient",
|
||||||
"nsStyleGradientStop",
|
"nsStyleGradientStop",
|
||||||
|
"nsStyleGridTemplate",
|
||||||
"nsStyleImage",
|
"nsStyleImage",
|
||||||
"nsStyleImageLayers",
|
"nsStyleImageLayers",
|
||||||
"nsStyleImageLayers_Layer",
|
"nsStyleImageLayers_Layer",
|
||||||
|
|
|
@ -97,6 +97,9 @@ unsafe impl Sync for nsStyleGradient {}
|
||||||
use gecko_bindings::structs::nsStyleGradientStop;
|
use gecko_bindings::structs::nsStyleGradientStop;
|
||||||
unsafe impl Send for nsStyleGradientStop {}
|
unsafe impl Send for nsStyleGradientStop {}
|
||||||
unsafe impl Sync for nsStyleGradientStop {}
|
unsafe impl Sync for nsStyleGradientStop {}
|
||||||
|
use gecko_bindings::structs::nsStyleGridTemplate;
|
||||||
|
unsafe impl Send for nsStyleGridTemplate {}
|
||||||
|
unsafe impl Sync for nsStyleGridTemplate {}
|
||||||
use gecko_bindings::structs::nsStyleImage;
|
use gecko_bindings::structs::nsStyleImage;
|
||||||
unsafe impl Send for nsStyleImage {}
|
unsafe impl Send for nsStyleImage {}
|
||||||
unsafe impl Sync for nsStyleImage {}
|
unsafe impl Sync for nsStyleImage {}
|
||||||
|
@ -778,6 +781,12 @@ extern "C" {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
|
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_CopyStyleGridTemplateValues(grid_template:
|
||||||
|
*mut nsStyleGridTemplate,
|
||||||
|
other:
|
||||||
|
*const nsStyleGridTemplate);
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent,
|
pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent,
|
||||||
how_many: u32);
|
how_many: u32);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue