move channels.rs to libnotcurses-sys crate

pull/873/head
joseLuís 4 years ago
parent 2842ffb751
commit 590fbf4f1f

@ -1,6 +1,6 @@
#![allow(dead_code)]
extern crate libnotcurses_sys as ffi;
use crate as ffi;
// NOTE: There are several differences from the original functions in C:
//

@ -2,6 +2,8 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
mod channels;
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
pub fn ncplane_putstr(_n: *mut ncplane, _str: &str) -> i32 {

@ -1,5 +1,3 @@
mod channels;
extern crate libnotcurses_sys as ffi;
pub fn getc_blocking(_n: *mut ffi::notcurses, _ni: &mut ffi::ncinput) -> u32 {

Loading…
Cancel
Save