mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Add bindings for setting grid nsTArrays
This commit is contained in:
parent
10badb3efd
commit
3011c7cadc
2 changed files with 20 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
/* automatically generated by rust-bindgen */
|
||||
|
||||
pub use nsstring::{nsACString, nsAString, nsString};
|
||||
pub use nsstring::{nsACString, nsAString, nsString, nsStringRepr};
|
||||
use gecko_bindings::structs::nsTArray;
|
||||
type nsACString_internal = nsACString;
|
||||
type nsAString_internal = nsAString;
|
||||
use gecko_bindings::structs::mozilla::css::GridTemplateAreasValue;
|
||||
|
@ -943,6 +944,15 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ResizeTArrayForStrings(array: *mut nsTArray<nsStringRepr>,
|
||||
length: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetStyleGridTemplateArrayLengths(grid_template:
|
||||
*mut nsStyleGridTemplate,
|
||||
track_sizes: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyStyleGridTemplateValues(grid_template:
|
||||
*mut nsStyleGridTemplate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue