Type Definition libnotcurses_sys::ffi::fadecb[][src]

type fadecb = Option<unsafe extern "C" fn(nc: *mut notcurses, n: *mut ncplane, arg1: *const timespec, curry: *mut c_void) -> c_int>;
Expand description

Called for each fade iteration on ‘ncp’. If anything but 0 is returned, the fading operation ceases immediately, and that value is propagated out. The recommended absolute display time target is passed in ‘tspec’.