Type Definition mupdf_sys::fz_document_open_fn

source ·
pub type fz_document_open_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, filename: *const c_char) -> *mut fz_document>;
Expand description

Function type to open a document from a file.

filename: file to open

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