[][src]Function mupdf_sys::fz_drop_device

pub unsafe extern "C" fn fz_drop_device(
    ctx: *mut fz_context,
    dev: *mut fz_device
)

Reduce the reference count on a device. When the reference count reaches zero, the device and its resources will be freed. Don't forget to call fz_close_device before dropping the device, or you may get incomplete output!

Never throws exceptions.