From 8307c66d8c698dc3ff285e8dc60efd1968e9275f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 27 Apr 2016 03:50:37 -0400 Subject: ColorImpl needs to be repr(C) since it's a part of CellAttrs --- src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.rs b/src/types.rs index 04806d8..c1277c9 100644 --- a/src/types.rs +++ b/src/types.rs @@ -2,6 +2,7 @@ use libc; pub enum ScreenImpl {} pub enum CellImpl {} +#[repr(C)] pub struct ColorImpl(pub libc::uint32_t); #[repr(C)] -- cgit v1.2.3-54-g00ecf