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> 8Return to the <a href="index.html">PCRE index page</a>. 9</p> 10<p> 11This page is part of the PCRE HTML documentation. It was generated automatically 12from the original man page. If there is any nonsense in it, please consult the 13man page, in case the conversion went wrong. 14<br> 15<br><b> 16SYNOPSIS 17</b><br> 18<P> 19<b>#include <pcre.h></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> 30DESCRIPTION 31</b><br> 32<P> 33This function is used to create a stack for use by the code compiled by the JIT 34optimization of <b>pcre[16]_study()</b>. The arguments are a starting size for 35the stack, and a maximum size to which it is allowed to grow. The result can be 36passed to the JIT run-time code by <b>pcre[16]_assign_jit_stack()</b>, or that 37function can set up a callback for obtaining a stack. A maximum stack size of 38512K to 1M should be more than enough for any pattern. For more details, see 39the 40<a href="pcrejit.html"><b>pcrejit</b></a> 41page. 42</P> 43<P> 44There is a complete description of the PCRE native API in the 45<a href="pcreapi.html"><b>pcreapi</b></a> 46page and a description of the POSIX API in the 47<a href="pcreposix.html"><b>pcreposix</b></a> 48page. 49<p> 50Return to the <a href="index.html">PCRE index page</a>. 51</p> 52