libnotcurses-sys: update tests for new notcurses_options

pull/433/head
nick black 5 years ago
parent ddf206462b
commit cbacf006e5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -4,7 +4,6 @@
include!(concat!(env!("OUT_DIR"), "/bindings.rs")); include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
use std::str;
use std::ffi::CStr; use std::ffi::CStr;
extern { extern {
@ -41,6 +40,10 @@ mod tests {
no_winch_sighandler: false, no_winch_sighandler: false,
no_quit_sighandlers: false, no_quit_sighandlers: false,
renderfp: std::ptr::null_mut(), renderfp: std::ptr::null_mut(),
margin_t: 0,
margin_r: 0,
margin_b: 0,
margin_l: 0,
}; };
let nc = notcurses_init(&opts, libc_stdout()); let nc = notcurses_init(&opts, libc_stdout());
notcurses_stop(nc); notcurses_stop(nc);

Loading…
Cancel
Save