Function mupdf_sys::fz_drop_context

source ·
pub unsafe extern "C" fn fz_drop_context(ctx: *mut fz_context)
Expand description

Free a context and its global state.

The context and all of its global state is freed, and any buffered warnings are flushed (see fz_flush_warnings). If NULL is passed in nothing will happen.

Must not be called for a context that is being used in an active fz_try(), fz_always() or fz_catch() block.