Function libnotcurses_sys::ffi::nctree_goto [−][src]
pub unsafe extern "C" fn nctree_goto(
n: *mut nctree,
spec: *const c_uint,
failspec: *mut c_int
) -> *mut c_void
Expand description
Go to the item specified by the array |spec|, terminated by UINT_MAX. If the spec is invalid, NULL is returned, and the depth of the first invalid spec is written to *|failspec|. Otherwise, the true depth is written to *|failspec|, and the curry is returned (|failspec| is necessary because the curry could itself be NULL).