mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
move channels.rs to libnotcurses-sys crate
This commit is contained in:
parent
2842ffb751
commit
590fbf4f1f
@ -1,6 +1,6 @@
|
|||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
extern crate libnotcurses_sys as ffi;
|
use crate as ffi;
|
||||||
|
|
||||||
// NOTE: There are several differences from the original functions in C:
|
// NOTE: There are several differences from the original functions in C:
|
||||||
//
|
//
|
@ -2,6 +2,8 @@
|
|||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
|
mod channels;
|
||||||
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
|
|
||||||
pub fn ncplane_putstr(_n: *mut ncplane, _str: &str) -> i32 {
|
pub fn ncplane_putstr(_n: *mut ncplane, _str: &str) -> i32 {
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
mod channels;
|
|
||||||
|
|
||||||
extern crate libnotcurses_sys as ffi;
|
extern crate libnotcurses_sys as ffi;
|
||||||
|
|
||||||
pub fn getc_blocking(_n: *mut ffi::notcurses, _ni: &mut ffi::ncinput) -> u32 {
|
pub fn getc_blocking(_n: *mut ffi::notcurses, _ni: &mut ffi::ncinput) -> u32 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user