chiark / gitweb /
pcre3 (1:8.30-5) unstable; urgency=low
[pcre3.git] / doc / html / pcre_jit_stack_alloc.html
1 <html>
2 <head>
3 <title>pcre_jit_stack_alloc specification</title>
4 </head>
5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6 <h1>pcre_jit_stack_alloc man page</h1>
7 <p>
8 Return to the <a href="index.html">PCRE index page</a>.
9 </p>
10 <p>
11 This page is part of the PCRE HTML documentation. It was generated automatically
12 from the original man page. If there is any nonsense in it, please consult the
13 man page, in case the conversion went wrong.
14 <br>
15 <br><b>
16 SYNOPSIS
17 </b><br>
18 <P>
19 <b>#include &#60;pcre.h&#62;</b>
20 </P>
21 <P>
22 <b>pcre_jit_stack *pcre_jit_stack_alloc(int <i>startsize</i>,</b>
23 <b>int <i>maxsize</i>);</b>
24 </P>
25 <P>
26 <b>pcre16_jit_stack *pcre16_jit_stack_alloc(int <i>startsize</i>,</b>
27 <b>int <i>maxsize</i>);</b>
28 </P>
29 <br><b>
30 DESCRIPTION
31 </b><br>
32 <P>
33 This function is used to create a stack for use by the code compiled by the JIT
34 optimization of <b>pcre[16]_study()</b>. The arguments are a starting size for
35 the stack, and a maximum size to which it is allowed to grow. The result can be
36 passed to the JIT runtime code by <b>pcre[16]_assign_jit_stack()</b>, or that
37 function can set up a callback for obtaining a stack. A maximum stack size of
38 512K to 1M should be more than enough for any pattern. For more details, see
39 the
40 <a href="pcrejit.html"><b>pcrejit</b></a>
41 page.
42 </P>
43 <P>
44 There is a complete description of the PCRE native API in the
45 <a href="pcreapi.html"><b>pcreapi</b></a>
46 page and a description of the POSIX API in the
47 <a href="pcreposix.html"><b>pcreposix</b></a>
48 page.
49 <p>
50 Return to the <a href="index.html">PCRE index page</a>.
51 </p>