Type Definition mupdf_sys::fz_document_open_accel_with_stream_fn[][src]

type fz_document_open_accel_with_stream_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, stream: *mut fz_stream, accel: *mut fz_stream) -> *mut fz_document>;

Function type to open a document from a file, with accelerator data.

stream: fz_stream to read document data from. Must be seekable for formats that require it.

accel: fz_stream to read accelerator data from. Must be seekable for formats that require it.

Pointer to opened document. Throws exception in case of error.