Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 1 | .TH PCRE2_SET_RECURSION_MEMORY_MANAGEMENT 3 "25 March 2017" "PCRE2 10.30" |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 2 | .SH NAME |
| 3 | PCRE2 - 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 Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 19 | From release 10.30 onwards, this function is obsolete and does nothing. The |
| 20 | result is always zero. |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 21 | .P |
| 22 | There is a complete description of the PCRE2 native API in the |
| 23 | .\" HREF |
| 24 | \fBpcre2api\fP |
| 25 | .\" |
| 26 | page and a description of the POSIX API in the |
| 27 | .\" HREF |
| 28 | \fBpcre2posix\fP |
| 29 | .\" |
| 30 | page. |