Function mupdf_sys::fz_shrink_store[][src]

pub unsafe extern "C" fn fz_shrink_store(
    ctx: *mut fz_context,
    percent: c_uint
) -> c_int

Evict items from the store until the total size of the objects in the store is reduced to a given percentage of its current size.

percent: %age of current size to reduce the store to.

Returns non zero if we managed to free enough memory, zero otherwise.