Skip to main content

fz_drop_document

Function fz_drop_document 

Source
pub unsafe extern "C" fn fz_drop_document(
    ctx: *mut fz_context,
    doc: *mut fz_document,
)
Expand description

Decrement the document reference count. When the reference
count reaches 0, the document and all it’s references are
freed.

Never throws exceptions.