summaryrefslogtreecommitdiffstats
path: root/thirdparty/pcre2/src/pcre2_maketables.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-30 15:09:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-04-30 15:09:03 +0200
commit824736d271ca7e545ed7cf42f20ba34fb2b73def (patch)
tree34d4d9d88c96fd0a7f0b23c858cbd195db073789 /thirdparty/pcre2/src/pcre2_maketables.c
parentd29514accef09ba0402cdbb87ec5f5e773a48bbc (diff)
downloadredot-engine-824736d271ca7e545ed7cf42f20ba34fb2b73def.tar.gz
pcre2: Update to upstream version 10.34
Changelog: https://vcs.pcre.org/pcre2/code/tags/pcre2-10.34/ChangeLog?view=markup
Diffstat (limited to 'thirdparty/pcre2/src/pcre2_maketables.c')
-rw-r--r--thirdparty/pcre2/src/pcre2_maketables.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/thirdparty/pcre2/src/pcre2_maketables.c b/thirdparty/pcre2/src/pcre2_maketables.c
index 5921e90793..8c93b4b573 100644
--- a/thirdparty/pcre2/src/pcre2_maketables.c
+++ b/thirdparty/pcre2/src/pcre2_maketables.c
@@ -147,4 +147,15 @@ for (i = 0; i < 256; i++)
return yield;
}
+#ifndef DFTABLES
+PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION
+pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables)
+{
+ if (gcontext)
+ gcontext->memctl.free((void *)tables, gcontext->memctl.memory_data);
+ else
+ free((void *)tables);
+}
+#endif
+
/* End of pcre2_maketables.c */