Type Definition mupdf_sys::fz_document_drop_fn

source ·
pub type fz_document_drop_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, doc: *mut fz_document)>;
Expand description

Type for a function to be called when the reference count for the fz_document drops to 0. The implementation should release any resources held by the document. The actual document pointer will be freed by the caller.