version 1.1.1.2, 2012/02/21 23:50:25
|
version 1.1.1.5, 2014/06/15 19:46:05
|
Line 20 SYNOPSIS
|
Line 20 SYNOPSIS
|
</P> |
</P> |
<P> |
<P> |
<b>pcre_jit_stack *pcre_jit_stack_alloc(int <i>startsize</i>,</b> |
<b>pcre_jit_stack *pcre_jit_stack_alloc(int <i>startsize</i>,</b> |
<b>int <i>maxsize</i>);</b> | <b> int <i>maxsize</i>);</b> |
</P> | <br> |
<P> | <br> |
<b>pcre16_jit_stack *pcre16_jit_stack_alloc(int <i>startsize</i>,</b> |
<b>pcre16_jit_stack *pcre16_jit_stack_alloc(int <i>startsize</i>,</b> |
<b>int <i>maxsize</i>);</b> | <b> int <i>maxsize</i>);</b> |
| <br> |
| <br> |
| <b>pcre32_jit_stack *pcre32_jit_stack_alloc(int <i>startsize</i>,</b> |
| <b> int <i>maxsize</i>);</b> |
</P> |
</P> |
<br><b> |
<br><b> |
DESCRIPTION |
DESCRIPTION |
</b><br> |
</b><br> |
<P> |
<P> |
This function is used to create a stack for use by the code compiled by the JIT |
This function is used to create a stack for use by the code compiled by the JIT |
optimization of <b>pcre[16]_study()</b>. The arguments are a starting size for | optimization of <b>pcre[16|32]_study()</b>. The arguments are a starting size for |
the stack, and a maximum size to which it is allowed to grow. The result can be |
the stack, and a maximum size to which it is allowed to grow. The result can be |
passed to the JIT runtime code by <b>pcre[16]_assign_jit_stack()</b>, or that | passed to the JIT run-time code by <b>pcre[16|32]_assign_jit_stack()</b>, or that |
function can set up a callback for obtaining a stack. A maximum stack size of |
function can set up a callback for obtaining a stack. A maximum stack size of |
512K to 1M should be more than enough for any pattern. For more details, see |
512K to 1M should be more than enough for any pattern. For more details, see |
the |
the |