Function libnotcurses_sys::ncplane_set_userptr[][src]

pub unsafe extern "C" fn ncplane_set_userptr(
    n: *mut ncplane,
    opaque: *mut c_void
) -> *mut c_void
Expand description

Manipulate the opaque user pointer associated with this plane. ncplane_set_userptr() returns the previous userptr after replacing it with ‘opaque’. the others simply return the userptr.