Type Definition hyperscan_sys::hs_free_t

source ·
pub type hs_free_t = Option<unsafe extern "C" fn(ptr: *mut c_void)>;
Expand description

The type of the callback function that will be used by Hyperscan to free memory regions previously allocated using the @ref hs_alloc_t function.

@param ptr The region of memory to be freed.