diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:50:37 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:50:37 -0400 |
commit | 8307c66d8c698dc3ff285e8dc60efd1968e9275f (patch) | |
tree | cc46f29a8a738c16863e5326a2c67dd78ee9b841 | |
parent | c50136709ec7940b616f0645191d84264c22fa7f (diff) | |
download | vt100-rust-8307c66d8c698dc3ff285e8dc60efd1968e9275f.tar.gz vt100-rust-8307c66d8c698dc3ff285e8dc60efd1968e9275f.zip |
ColorImpl needs to be repr(C) since it's a part of CellAttrs
-rw-r--r-- | src/types.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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)] |