aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 03:49:48 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 03:49:48 -0400
commitc50136709ec7940b616f0645191d84264c22fa7f (patch)
treeebe7106867db1cbc7d6d182d9281b1a2ee4e9fdb /src/ffi.rs
parent06445fe6e42f44bbb14f00afee97865b58250a70 (diff)
downloadvt100-rust-c50136709ec7940b616f0645191d84264c22fa7f.tar.gz
vt100-rust-c50136709ec7940b616f0645191d84264c22fa7f.zip
allow the attr ffi wrappers to be used on more than just cells
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 4586bcd..daab278 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -39,10 +39,10 @@ extern "C" {
) -> *mut types::CellImpl;
pub fn vt100_wrapper_cell_is_wide(cell: *mut types::CellImpl) -> libc::c_int;
- pub fn vt100_wrapper_cell_bold(cell: *mut types::CellImpl) -> libc::c_int;
- pub fn vt100_wrapper_cell_italic(cell: *mut types::CellImpl) -> libc::c_int;
- pub fn vt100_wrapper_cell_underline(cell: *mut types::CellImpl) -> libc::c_int;
- pub fn vt100_wrapper_cell_inverse(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;
}
#[cfg(test)]