Skip to content

Commit

Permalink
Include bindings for StyleGridTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
wafflespeanut committed Apr 9, 2017
1 parent a811776 commit 00bb0d6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/style/build_gecko.rs
Expand Up @@ -400,6 +400,7 @@ mod bindings {
"nsStyleFont",
"nsStyleGradient",
"nsStyleGradientStop",
"nsStyleGridTemplate",
"nsStyleImage",
"nsStyleImageLayers",
"nsStyleList",
Expand Down Expand Up @@ -657,6 +658,7 @@ mod bindings {
"nsStyleFont",
"nsStyleGradient",
"nsStyleGradientStop",
"nsStyleGridTemplate",
"nsStyleImage",
"nsStyleImageLayers",
"nsStyleImageLayers_Layer",
Expand Down
9 changes: 9 additions & 0 deletions components/style/gecko_bindings/bindings.rs
Expand Up @@ -97,6 +97,9 @@ unsafe impl Sync for nsStyleGradient {}
use gecko_bindings::structs::nsStyleGradientStop;
unsafe impl Send 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;
unsafe impl Send for nsStyleImage {}
unsafe impl Sync for nsStyleImage {}
Expand Down Expand Up @@ -778,6 +781,12 @@ extern "C" {
extern "C" {
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
}
extern "C" {
pub fn Gecko_CopyStyleGridTemplateValues(grid_template:
*mut nsStyleGridTemplate,
other:
*const nsStyleGridTemplate);
}
extern "C" {
pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent,
how_many: u32);
Expand Down

0 comments on commit 00bb0d6

Please sign in to comment.