diff options
Diffstat (limited to 'tests/expectations/class_static.rs')
-rw-r--r-- | tests/expectations/class_static.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/expectations/class_static.rs b/tests/expectations/class_static.rs new file mode 100644 index 00000000..f97875e9 --- /dev/null +++ b/tests/expectations/class_static.rs @@ -0,0 +1,21 @@ +/* automatically generated by rust-bindgen */ + + +#![feature(const_fn)] +#![allow(non_snake_case)] + + +#[repr(C)] +#[derive(Debug, Copy)] +pub struct Struct_MyClass; +impl ::std::clone::Clone for Struct_MyClass { + fn clone(&self) -> Self { *self } +} +extern "C" { + #[link_name = "_ZN7MyClass7exampleE"] + pub static mut Struct_MyClass_consts_example: + *const ::std::os::raw::c_int; + #[link_name = "_ZN7MyClass26example_check_no_collisionE"] + pub static mut Struct_MyClass_consts_example_check_no_collision: + *const ::std::os::raw::c_int; +} |