Type Definition jemallocator::ffi::extent_split_t

source ·
pub type extent_split_t = unsafe extern "C" fn(_: *mut extent_hooks_s, _: *mut c_void, _: usize, _: usize, _: usize, _: i32, _: u32) -> i32;
Expand description

Extent split function.

Optionally splits an extent at given addr and size into two adjacent extents, the first of size_a bytes, and the second of size_b bytes, operating on committed/decommitted memory as indicated, on behalf of arena arena_ind, returning false upon success.

If the function returns true, this indicates that the extent remains unsplit and therefore should continue to be operated on as a whole.