1use ::context::Context;
2
3#[link(name="ncurses")]
4extern {
5 fn mvwaddch(ptr: *const u64, y: u64, x: u64, c: u8);
6
7}
8
9pub fn print_char(x: u64, y: u64, win: String, c: char, context: &mut Context)
10{
11 unsafe { mvwaddch(context.win.get(&win).unwrap().ptr, y, x, c as u8); }
12}