strpattern_match_delete_all()

Release the memory of all pattern matches specified in the given array.

Synopsis:

#include </strpattern.h>
 
void strpattern_match_delete_all(strpattern_match *const *matches, int len, int *err)

Arguments:

matches

A pointer to the head of the array with pattern matches.

len

The length of the array.

err

STRPATTERN_EOK if there is no error.

Library:

libstrpattern

Description:

All pattern matches must be allocated on the heap.

Returns: