aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 23:37:32 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 23:37:32 -0400
commite9879824b01d3c97c7be6aa61c9e429446d4a3f3 (patch)
tree15e8437070174d058bad1fe444a2adb953a272bd
parent0d34c6cc4ec8d710550c2a8bcf491be4face7280 (diff)
downloadvt100-rust-e9879824b01d3c97c7be6aa61c9e429446d4a3f3.tar.gz
vt100-rust-e9879824b01d3c97c7be6aa61c9e429446d4a3f3.zip
comment
-rw-r--r--src/ffi.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 80a2d08..0d95603 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -38,6 +38,8 @@ extern "C" {
col: libc::c_int,
) -> *mut types::CellImpl;
+ // XXX: these wrappers (and all of ffi.c) only exist because rust can't
+ // handle bitfields yet - once it can, these should be removed
pub fn vt100_wrapper_screen_hide_cursor(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_screen_application_keypad(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_screen_application_cursor(screen: *mut types::ScreenImpl) -> libc::c_int;