Function hyperscan_sys::hs_free_compile_error
source · [−]pub unsafe extern "C" fn hs_free_compile_error(
error: *mut hs_compile_error_t
) -> hs_error_t
Expand description
Free an error structure generated by @ref hs_compile(), @ref hs_compile_multi() or @ref hs_compile_ext_multi().
@param error The @ref hs_compile_error_t to be freed. NULL may also be safely provided.
@return @ref HS_SUCCESS on success, other values on failure.