Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bindings for calc() #12465

Merged
merged 6 commits into from Jul 20, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Sync stylo bindings

  • Loading branch information
Manishearth committed Jul 19, 2016
commit 8b76bd7c190b39eb3bc1cc4d041aab9b04dfdf77
@@ -276,7 +276,7 @@ extern "C" {
pub fn Servo_StyleSheetHasRules(sheet: *mut RawServoStyleSheet) -> bool;
pub fn Servo_InitStyleSet() -> *mut RawServoStyleSet;
pub fn Servo_DropStyleSet(set: *mut RawServoStyleSet);
pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u32,
pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u8,
cache: *mut nsHTMLCSSStyleSheet)
-> *mut ServoDeclarationBlock;
pub fn Servo_DropDeclarationBlock(declarations:
@@ -1537,15 +1537,30 @@ pub struct nsWritingIterator<CharT> {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStringComparator;
pub struct nsStringComparator {
pub _vftable: *const _vftable_nsStringComparator,
}
#[repr(C)]
pub struct _vftable_nsStringComparator {
pub _bindgen_empty_ctype_warning_fix: u64,
}
impl ::std::clone::Clone for nsStringComparator {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsStringComparator() {
assert_eq!(::std::mem::size_of::<nsStringComparator>() , 8usize);
assert_eq!(::std::mem::align_of::<nsStringComparator>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsDefaultStringComparator {
pub _base: nsStringComparator,
}
#[repr(C)]
pub struct _vftable_nsDefaultStringComparator {
pub _base: _vftable_nsStringComparator,
}
impl ::std::clone::Clone for nsDefaultStringComparator {
fn clone(&self) -> Self { *self }
}
@@ -1575,15 +1590,30 @@ fn bindgen_test_layout_nsAString_internal() {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCStringComparator;
pub struct nsCStringComparator {
pub _vftable: *const _vftable_nsCStringComparator,
}
#[repr(C)]
pub struct _vftable_nsCStringComparator {
pub _bindgen_empty_ctype_warning_fix: u64,
}
impl ::std::clone::Clone for nsCStringComparator {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsCStringComparator() {
assert_eq!(::std::mem::size_of::<nsCStringComparator>() , 8usize);
assert_eq!(::std::mem::align_of::<nsCStringComparator>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsDefaultCStringComparator {
pub _base: nsCStringComparator,
}
#[repr(C)]
pub struct _vftable_nsDefaultCStringComparator {
pub _base: _vftable_nsCStringComparator,
}
impl ::std::clone::Clone for nsDefaultCStringComparator {
fn clone(&self) -> Self { *self }
}
@@ -1620,6 +1650,10 @@ fn bindgen_test_layout_nsACString_internal() {
pub struct nsCaseInsensitiveCStringComparator {
pub _base: nsCStringComparator,
}
#[repr(C)]
pub struct _vftable_nsCaseInsensitiveCStringComparator {
pub _base: _vftable_nsCStringComparator,
}
impl ::std::clone::Clone for nsCaseInsensitiveCStringComparator {
fn clone(&self) -> Self { *self }
}
@@ -2211,10 +2245,21 @@ pub struct nsTArray<T> {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCOMPtr_helper;
pub struct nsCOMPtr_helper {
pub _vftable: *const _vftable_nsCOMPtr_helper,
}
#[repr(C)]
pub struct _vftable_nsCOMPtr_helper {
pub _bindgen_empty_ctype_warning_fix: u64,
}
impl ::std::clone::Clone for nsCOMPtr_helper {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsCOMPtr_helper() {
assert_eq!(::std::mem::size_of::<nsCOMPtr_helper>() , 8usize);
assert_eq!(::std::mem::align_of::<nsCOMPtr_helper>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsQueryInterface {
@@ -1537,15 +1537,30 @@ pub struct nsWritingIterator<CharT> {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStringComparator;
pub struct nsStringComparator {
pub _vftable: *const _vftable_nsStringComparator,
}
#[repr(C)]
pub struct _vftable_nsStringComparator {
pub _bindgen_empty_ctype_warning_fix: u64,
}
impl ::std::clone::Clone for nsStringComparator {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsStringComparator() {
assert_eq!(::std::mem::size_of::<nsStringComparator>() , 8usize);
assert_eq!(::std::mem::align_of::<nsStringComparator>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsDefaultStringComparator {
pub _base: nsStringComparator,
}
#[repr(C)]
pub struct _vftable_nsDefaultStringComparator {
pub _base: _vftable_nsStringComparator,
}
impl ::std::clone::Clone for nsDefaultStringComparator {
fn clone(&self) -> Self { *self }
}
@@ -1575,15 +1590,30 @@ fn bindgen_test_layout_nsAString_internal() {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCStringComparator;
pub struct nsCStringComparator {
pub _vftable: *const _vftable_nsCStringComparator,
}
#[repr(C)]
pub struct _vftable_nsCStringComparator {
pub _bindgen_empty_ctype_warning_fix: u64,
}
impl ::std::clone::Clone for nsCStringComparator {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsCStringComparator() {
assert_eq!(::std::mem::size_of::<nsCStringComparator>() , 8usize);
assert_eq!(::std::mem::align_of::<nsCStringComparator>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsDefaultCStringComparator {
pub _base: nsCStringComparator,
}
#[repr(C)]
pub struct _vftable_nsDefaultCStringComparator {
pub _base: _vftable_nsCStringComparator,
}
impl ::std::clone::Clone for nsDefaultCStringComparator {
fn clone(&self) -> Self { *self }
}
@@ -1620,6 +1650,10 @@ fn bindgen_test_layout_nsACString_internal() {
pub struct nsCaseInsensitiveCStringComparator {
pub _base: nsCStringComparator,
}
#[repr(C)]
pub struct _vftable_nsCaseInsensitiveCStringComparator {
pub _base: _vftable_nsCStringComparator,
}
impl ::std::clone::Clone for nsCaseInsensitiveCStringComparator {
fn clone(&self) -> Self { *self }
}
@@ -2211,10 +2245,21 @@ pub struct nsTArray<T> {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCOMPtr_helper;
pub struct nsCOMPtr_helper {
pub _vftable: *const _vftable_nsCOMPtr_helper,
}
#[repr(C)]
pub struct _vftable_nsCOMPtr_helper {
pub _bindgen_empty_ctype_warning_fix: u64,
}
impl ::std::clone::Clone for nsCOMPtr_helper {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsCOMPtr_helper() {
assert_eq!(::std::mem::size_of::<nsCOMPtr_helper>() , 8usize);
assert_eq!(::std::mem::align_of::<nsCOMPtr_helper>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsQueryInterface {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.