Function mupdf_sys::fz_store_scavenge_external [−][src]
pub unsafe extern "C" fn fz_store_scavenge_external(
ctx: *mut fz_context,
size: usize,
phase: *mut c_int
) -> c_int
Expand description
External function for callers to use to scavenge while trying allocations.
size: The number of bytes we are trying to have free.
phase: What phase of the scavenge we are in. Updated on exit.
Returns non zero if we managed to free any memory.