mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
make rust bindings no_std compatible, fixes #872
This commit is contained in:
parent
0362a11f63
commit
ba660aa69b
@ -21,9 +21,8 @@ keywords = ["tui", "cli", "terminal", "ncurses", "ffi"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
libc = {version = "0.2.74", default-features = false}
|
libc = {version = "0.2.74", default-features = false}
|
||||||
cty = "0.2.1"
|
cty = "0.2.1"
|
||||||
# blocked by: https://github.com/Amanieu/cstr_core/issues/4
|
# cstr_core = "0.2" # waiting for the next version after 0.2.0
|
||||||
# cstr_core = "0.2"
|
cstr_core = {git= "https://github.com/Amanieu/cstr_core"}
|
||||||
cstr_core = {path = "../../../../_temp_clones/cstr_core"}
|
|
||||||
libc-print = "0.1.13"
|
libc-print = "0.1.13"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
@ -11,13 +11,12 @@
|
|||||||
// --------------
|
// --------------
|
||||||
// nckey_mouse_p
|
// nckey_mouse_p
|
||||||
// nckey_supppuab_p
|
// nckey_supppuab_p
|
||||||
//
|
|
||||||
|
|
||||||
// use std::ffi::CString;
|
|
||||||
//
|
|
||||||
// use crate as ffi;
|
// use crate as ffi;
|
||||||
// use crate::types::{ChannelPair, IntResult};
|
// use crate::types::{ChannelPair, IntResult};
|
||||||
|
|
||||||
|
|
||||||
// // Is this char32_t a Supplementary Private Use Area-B codepoint?
|
// // Is this char32_t a Supplementary Private Use Area-B codepoint?
|
||||||
// static inline bool
|
// static inline bool
|
||||||
// nckey_supppuab_p(char32_t w){
|
// nckey_supppuab_p(char32_t w){
|
||||||
|
@ -51,8 +51,6 @@
|
|||||||
// notcurses_term_dim_yx
|
// notcurses_term_dim_yx
|
||||||
|
|
||||||
|
|
||||||
// use std::ffi::CString;
|
|
||||||
//
|
|
||||||
// use crate as ffi;
|
// use crate as ffi;
|
||||||
// use crate::types::{ChannelPair, IntResult};
|
// use crate::types::{ChannelPair, IntResult};
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@
|
|||||||
// ncpixel_set_rgb
|
// ncpixel_set_rgb
|
||||||
|
|
||||||
|
|
||||||
// use std::ffi::CString;
|
|
||||||
//
|
|
||||||
// use crate as ffi;
|
// use crate as ffi;
|
||||||
// use crate::types::{ChannelPair, IntResult};
|
// use crate::types::{ChannelPair, IntResult};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user