mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Regen bindings for Calc
This commit is contained in:
parent
8b76bd7c19
commit
b52b78c340
2 changed files with 15 additions and 0 deletions
|
@ -123,6 +123,15 @@ unsafe impl Sync for nsStyleImageLayers {}
|
||||||
impl HeapSizeOf for nsStyleImageLayers { fn heap_size_of_children(&self) -> usize { 0 } }
|
impl HeapSizeOf for nsStyleImageLayers { fn heap_size_of_children(&self) -> usize { 0 } }
|
||||||
use structs::nsStyleImageLayers_Layer as Layer;
|
use structs::nsStyleImageLayers_Layer as Layer;
|
||||||
use structs::nsStyleImageLayers_LayerType as LayerType;
|
use structs::nsStyleImageLayers_LayerType as LayerType;
|
||||||
|
use structs::nsStyleUnit;
|
||||||
|
unsafe impl Send for nsStyleUnit {}
|
||||||
|
unsafe impl Sync for nsStyleUnit {}
|
||||||
|
impl HeapSizeOf for nsStyleUnit { fn heap_size_of_children(&self) -> usize { 0 } }
|
||||||
|
use structs::nsStyleUnion;
|
||||||
|
unsafe impl Send for nsStyleUnion {}
|
||||||
|
unsafe impl Sync for nsStyleUnion {}
|
||||||
|
impl HeapSizeOf for nsStyleUnion { fn heap_size_of_children(&self) -> usize { 0 } }
|
||||||
|
use structs::nsStyleCoord_CalcValue as CalcValue;
|
||||||
use structs::SheetParsingMode;
|
use structs::SheetParsingMode;
|
||||||
use structs::nsMainThreadPtrHandle;
|
use structs::nsMainThreadPtrHandle;
|
||||||
use structs::nsMainThreadPtrHolder;
|
use structs::nsMainThreadPtrHolder;
|
||||||
|
@ -255,6 +264,11 @@ extern "C" {
|
||||||
len: usize);
|
len: usize);
|
||||||
pub fn Gecko_InitializeImageLayer(layer: *mut Layer,
|
pub fn Gecko_InitializeImageLayer(layer: *mut Layer,
|
||||||
layer_type: LayerType);
|
layer_type: LayerType);
|
||||||
|
pub fn Gecko_ResetStyleCoord(unit: *mut nsStyleUnit,
|
||||||
|
value: *mut nsStyleUnion);
|
||||||
|
pub fn Gecko_SetStyleCoordCalcValue(unit: *mut nsStyleUnit,
|
||||||
|
value: *mut nsStyleUnion,
|
||||||
|
calc: CalcValue);
|
||||||
pub fn Servo_StylesheetFromUTF8Bytes(bytes: *const u8, length: u32,
|
pub fn Servo_StylesheetFromUTF8Bytes(bytes: *const u8, length: u32,
|
||||||
parsing_mode: SheetParsingMode,
|
parsing_mode: SheetParsingMode,
|
||||||
base: *mut ThreadSafeURIHolder,
|
base: *mut ThreadSafeURIHolder,
|
||||||
|
|
|
@ -120,6 +120,7 @@ COMPILATION_TARGETS = {
|
||||||
"nsStyleEffects", "nsStyleImage", "nsStyleGradient",
|
"nsStyleEffects", "nsStyleImage", "nsStyleGradient",
|
||||||
"nsStyleCoord", "nsStyleGradientStop", "nsStyleImageLayers",
|
"nsStyleCoord", "nsStyleGradientStop", "nsStyleImageLayers",
|
||||||
"nsStyleImageLayers::Layer", "nsStyleImageLayers::LayerType",
|
"nsStyleImageLayers::Layer", "nsStyleImageLayers::LayerType",
|
||||||
|
"nsStyleUnit", "nsStyleUnion", "nsStyleCoord::CalcValue",
|
||||||
|
|
||||||
"SheetParsingMode", "nsMainThreadPtrHandle",
|
"SheetParsingMode", "nsMainThreadPtrHandle",
|
||||||
"nsMainThreadPtrHolder", "nscolor", "nsFont", "FontFamilyList",
|
"nsMainThreadPtrHolder", "nscolor", "nsFont", "FontFamilyList",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue