aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 03:50:37 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 03:50:37 -0400
commit8307c66d8c698dc3ff285e8dc60efd1968e9275f (patch)
treecc46f29a8a738c16863e5326a2c67dd78ee9b841
parentc50136709ec7940b616f0645191d84264c22fa7f (diff)
downloadvt100-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.rs1
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)]