blob: 12f175db2d609904a58beb9efc2da3af026889d7 [file] [log] [blame]
Elliott Hughes9bc971b2018-07-27 13:23:14 -07001.TH PCRE2_SET_RECURSION_MEMORY_MANAGEMENT 3 "25 March 2017" "PCRE2 10.30"
Janis Danisevskis112c9cc2016-03-31 13:35:25 +01002.SH NAME
3PCRE2 - Perl-compatible regular expressions (revised API)
4.SH SYNOPSIS
5.rs
6.sp
7.B #include <pcre2.h>
8.PP
9.nf
10.B int pcre2_set_recursion_memory_management(
11.B " pcre2_match_context *\fImcontext\fP,"
12.B " void *(*\fIprivate_malloc\fP)(PCRE2_SIZE, void *),"
13.B " void (*\fIprivate_free\fP)(void *, void *), void *\fImemory_data\fP);"
14.fi
15.
16.SH DESCRIPTION
17.rs
18.sp
Elliott Hughes9bc971b2018-07-27 13:23:14 -070019From release 10.30 onwards, this function is obsolete and does nothing. The
20result is always zero.
Janis Danisevskis112c9cc2016-03-31 13:35:25 +010021.P
22There is a complete description of the PCRE2 native API in the
23.\" HREF
24\fBpcre2api\fP
25.\"
26page and a description of the POSIX API in the
27.\" HREF
28\fBpcre2posix\fP
29.\"
30page.