Update bindings

This commit is contained in:
J. Ryan Stinnett 2017-06-02 14:39:13 -05:00
parent 56b44d2709
commit b03867da5d
3 changed files with 55 additions and 48 deletions

View file

@ -800,6 +800,11 @@ pub mod root {
4;
pub const NS_STYLE_CONTEXT_PROPERTY_FILL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CONTEXT_PROPERTY_STROKE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_CONTEXT_PROPERTY_FILL_OPACITY: ::std::os::raw::c_uint =
4;
pub const NS_STYLE_CONTEXT_PROPERTY_STROKE_OPACITY: ::std::os::raw::c_uint
=
8;
pub const NS_STYLE_WINDOW_SHADOW_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_WINDOW_SHADOW_DEFAULT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WINDOW_SHADOW_MENU: ::std::os::raw::c_uint = 2;
@ -3571,9 +3576,20 @@ pub mod root {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[derive(Debug)]
pub struct EventHandlerNonNull {
_unused: [u8; 0],
pub _base: root::mozilla::dom::CallbackFunction,
}
#[test]
fn bindgen_test_layout_EventHandlerNonNull() {
assert_eq!(::std::mem::size_of::<EventHandlerNonNull>() ,
48usize , concat ! (
"Size of: " , stringify ! ( EventHandlerNonNull )
));
assert_eq! (::std::mem::align_of::<EventHandlerNonNull>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
EventHandlerNonNull ) ));
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@ -14521,26 +14537,6 @@ pub mod root {
pub struct nsIPrincipal_COMTypeInfo {
pub _address: u8,
}
pub const nsIPrincipal_APP_STATUS_NOT_INSTALLED:
root::nsIPrincipal__bindgen_ty_1 =
nsIPrincipal__bindgen_ty_1::APP_STATUS_NOT_INSTALLED;
pub const nsIPrincipal_APP_STATUS_INSTALLED:
root::nsIPrincipal__bindgen_ty_1 =
nsIPrincipal__bindgen_ty_1::APP_STATUS_INSTALLED;
pub const nsIPrincipal_APP_STATUS_PRIVILEGED:
root::nsIPrincipal__bindgen_ty_1 =
nsIPrincipal__bindgen_ty_1::APP_STATUS_PRIVILEGED;
pub const nsIPrincipal_APP_STATUS_CERTIFIED:
root::nsIPrincipal__bindgen_ty_1 =
nsIPrincipal__bindgen_ty_1::APP_STATUS_CERTIFIED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPrincipal__bindgen_ty_1 {
APP_STATUS_NOT_INSTALLED = 0,
APP_STATUS_INSTALLED = 1,
APP_STATUS_PRIVILEGED = 2,
APP_STATUS_CERTIFIED = 3,
}
#[test]
fn bindgen_test_layout_nsIPrincipal() {
assert_eq!(::std::mem::size_of::<nsIPrincipal>() , 8usize , concat ! (
@ -33009,7 +33005,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
fn __bindgen_test_layout__bindgen_ty_id_199539_instantiation_97() {
fn __bindgen_test_layout__bindgen_ty_id_207717_instantiation_97() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@ -33018,7 +33014,7 @@ pub mod root {
) ));
}
#[test]
fn __bindgen_test_layout__bindgen_ty_id_199575_instantiation_98() {
fn __bindgen_test_layout__bindgen_ty_id_207753_instantiation_98() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));