Type Definition mupdf_sys::fz_output_write_fn [−][src]
type fz_output_write_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, state: *mut c_void, data: *const c_void, n: usize)>;
A function type for use when implementing fz_outputs. The supplied function of this type is called whenever data is written to the output.
state: The state for the output stream.
data: a pointer to a buffer of data to write.
n: The number of bytes of data to write.