Add yet more missing #[repr(C)] to tests
This commit is contained in:
parent
d754778083
commit
c7ec0dfcb6
1 changed files with 2 additions and 0 deletions
|
@ -9,9 +9,11 @@
|
|||
// except according to those terms.
|
||||
//
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct Quad { a: u64, b: u64, c: u64, d: u64 }
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct Floats { a: f64, b: u8, c: f64 }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue