diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:49:48 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:49:48 -0400 |
commit | c50136709ec7940b616f0645191d84264c22fa7f (patch) | |
tree | ebe7106867db1cbc7d6d182d9281b1a2ee4e9fdb /src/ffi.rs | |
parent | 06445fe6e42f44bbb14f00afee97865b58250a70 (diff) | |
download | vt100-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.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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)] |