Function mupdf_sys::fz_hash_filter

source ·
pub unsafe extern "C" fn fz_hash_filter(
    ctx: *mut fz_context,
    table: *mut fz_hash_table,
    state: *mut c_void,
    callback: fz_hash_table_filter_fn
)
Expand description

Iterate over the entries in a hash table, removing all the ones where callback returns true. Does NOT free the value of the entry, so the caller is expected to take care of this.