Merge pull request #8 from phil-opp/printing_to_screen_repr_c

Add #[repr(C)] to ScreenChar
This commit is contained in:
Philipp Oppermann
2015-10-25 15:53:45 +01:00

View File

@@ -111,6 +111,7 @@ impl ColorCode {
}
#[derive(Clone, Copy)]
#[repr(C)]
struct ScreenChar {
ascii_character: u8,
color_code: ColorCode,