Type Definition mupdf_sys::fz_stream_seek_fn

source ·
pub type fz_stream_seek_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, stm: *mut fz_stream, offset: i64, whence: c_int)>;
Expand description

A function type for use when implementing fz_streams. The supplied function of this type is called when fz_seek is requested, and the arguments are as defined for fz_seek.

The stream can find it’s private state in stm->state.