PCRE2\_MAKETABLES\_FREE(3) Library Functions Manual PCRE2\_MAKETABLES\_FREE(3)

# [NAME](#NAME)

PCRE2 - Perl-compatible regular expressions (revised API)

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;pcre2.h&gt;**

```
void pcre2_maketables_free(pcre2_general_context *gcontext,
  const uint8_t *tables);
```

# [DESCRIPTION](#DESCRIPTION)

This function discards a set of character tables that were created by a call to **pcre2\_maketables()**.

The *gcontext* parameter should match what was used in that call to account for any custom allocators that might be in use; if it is NULL the system **free()** is used.

There is a complete description of the PCRE2 native API in the **pcre2api** page.

03 September 2019 PCRE2 10.49

---

Document: pcre2_maketables_free(3) from pcre2 10.49-r2 (Chainguard OS)
Source: https://github.com/PCRE2Project/pcre2.git
