aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 01:50:04 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 01:50:36 -0400
commit85213a843566b82b05626efd97c48644b04935d2 (patch)
tree1897cb51bd0519aa955310ca049a09064e9a476d /src/ffi.rs
parentf0486657754c485f8211c6d00f9bf5ba6953dd67 (diff)
downloadvt100-rust-85213a843566b82b05626efd97c48644b04935d2.tar.gz
vt100-rust-85213a843566b82b05626efd97c48644b04935d2.zip
start implementing cells
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 1b984b5..e498361 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -32,6 +32,12 @@ extern "C" {
rows: libc::c_int,
);
+ pub fn vt100_screen_cell_at(
+ screen: *mut types::ScreenImpl,
+ row: libc::c_int,
+ col: libc::c_int,
+ ) -> *mut types::CellImpl;
+
pub fn vt100_wrapper_rows(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_cols(screen: *mut types::ScreenImpl) -> libc::c_int;
}