blob: 3c6cd2809d9acb07ebbe50f30b3c1054ef09742e [file] [log] [blame]
/* automatically generated by rust-bindgen */
#![allow(non_snake_case)]
pub mod root {
#[allow(unused_imports)]
use self::super::root;
pub mod JS {
#[allow(unused_imports)]
use self::super::super::root;
#[repr(C)]
#[derive(Debug, Default, Copy)]
pub struct Value {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_Value() {
assert_eq!(::std::mem::size_of::<Value>() , 1usize , concat ! (
"Size of: " , stringify ! ( Value ) ));
assert_eq! (::std::mem::align_of::<Value>() , 1usize , concat ! (
"Alignment of " , stringify ! ( Value ) ));
}
extern "C" {
#[link_name = "_ZN2JS5Value1aE10JSWhyMagic"]
pub fn Value_a(this: *mut root::JS::Value,
arg1: root::JSWhyMagic);
}
impl Clone for Value {
fn clone(&self) -> Self { *self }
}
impl Value {
#[inline]
pub unsafe fn a(&mut self, arg1: root::JSWhyMagic) {
Value_a(&mut *self, arg1)
}
}
}
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum JSWhyMagic { }
}