Function hyperscan_sys::chimera::ch_scratch_size
source · [−]pub unsafe extern "C" fn ch_scratch_size(
scratch: *const ch_scratch_t,
scratch_size: *mut usize
) -> ch_error_t
Expand description
Provides the size of the given scratch space.
@param scratch A per-thread scratch space allocated by @ref ch_alloc_scratch() or @ref ch_clone_scratch().
@param scratch_size On success, the size of the scratch space in bytes is placed in this parameter.
@return @ref CH_SUCCESS on success, other values on failure.