aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 01:42:37 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 02:08:49 -0400
commit1cf6da28fc5f02af178dfe6dcbe4fd19c20dbc8e (patch)
tree1ecd34907e8fe53fb8e3a60d62edf9f8d54292f8 /src/ffi.rs
parent4813cd322b86488eee3ecb0e6f7cfe2d998b4115 (diff)
downloadvt100-rust-1cf6da28fc5f02af178dfe6dcbe4fd19c20dbc8e.tar.gz
vt100-rust-1cf6da28fc5f02af178dfe6dcbe4fd19c20dbc8e.zip
move dirty checking to individual cellsdirty-cells-take-2
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 284a98c..7715acd 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -59,17 +59,17 @@ extern "C" {
pub fn vt100_wrapper_screen_audible_bell(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_screen_update_title(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_screen_update_icon_name(screen: *mut types::ScreenImpl) -> libc::c_int;
- pub fn vt100_wrapper_screen_dirty(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_screen_clear_visual_bell(screen: *mut types::ScreenImpl);
pub fn vt100_wrapper_screen_clear_audible_bell(screen: *mut types::ScreenImpl);
pub fn vt100_wrapper_screen_clear_update_title(screen: *mut types::ScreenImpl);
pub fn vt100_wrapper_screen_clear_update_icon_name(screen: *mut types::ScreenImpl);
- pub fn vt100_wrapper_screen_clear_dirty(screen: *mut types::ScreenImpl);
pub fn vt100_wrapper_cell_is_wide(cell: *mut types::CellImpl) -> libc::c_int;
pub fn vt100_wrapper_cell_attrs_bold(cell: *mut types::CellAttrs) -> libc::c_int;
pub fn vt100_wrapper_cell_attrs_italic(cell: *mut types::CellAttrs) -> libc::c_int;
pub fn vt100_wrapper_cell_attrs_underline(cell: *mut types::CellAttrs) -> libc::c_int;
pub fn vt100_wrapper_cell_attrs_inverse(cell: *mut types::CellAttrs) -> libc::c_int;
+ pub fn vt100_wrapper_cell_was_drawn(cell: *mut types::CellImpl) -> libc::c_int;
+ pub fn vt100_wrapper_cell_set_was_drawn(cell: *mut types::CellImpl);
}
#[cfg(test)]