iai_callgrind::client_requests::memcheck

Function discard

source
pub fn discard<T>(handle: BlockHandle) -> usize
Available on crate feature client_requests_defs only.
Expand description

Discard a BlockHandle previously acquired with create_block

Returns 1 for an invalid handle, 0 for a valid handle. Passing invalid handles to discard is harmless.

See also create_block