Diff for /embedaddon/pcre/doc/html/pcre_assign_jit_stack.html between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2012/10/09 09:19:17 version 1.1.1.4, 2013/07/22 08:25:57
Line 26  SYNOPSIS Line 26  SYNOPSIS
 <b>void pcre16_assign_jit_stack(pcre16_extra *<i>extra</i>,</b>  <b>void pcre16_assign_jit_stack(pcre16_extra *<i>extra</i>,</b>
 <b>pcre16_jit_callback <i>callback</i>, void *<i>data</i>);</b>  <b>pcre16_jit_callback <i>callback</i>, void *<i>data</i>);</b>
 </P>  </P>
   <P>
   <b>void pcre32_assign_jit_stack(pcre32_extra *<i>extra</i>,</b>
   <b>pcre32_jit_callback <i>callback</i>, void *<i>data</i>);</b>
   </P>
 <br><b>  <br><b>
 DESCRIPTION  DESCRIPTION
 </b><br>  </b><br>
 <P>  <P>
 This function provides control over the memory used as a stack at run-time by a  This function provides control over the memory used as a stack at run-time by a
call to <b>pcre[16]_exec()</b> with a pattern that has been successfullycall to <b>pcre[16|32]_exec()</b> with a pattern that has been successfully
 compiled with JIT optimization. The arguments are:  compiled with JIT optimization. The arguments are:
 <pre>  <pre>
  extra     the data pointer returned by <b>pcre[16]_study()</b>  extra     the data pointer returned by <b>pcre[16|32]_study()</b>
   callback  a callback function    callback  a callback function
   data      a JIT stack or a value to be passed to the callback    data      a JIT stack or a value to be passed to the callback
               function                function
Line 46  the machine stack is used. Line 50  the machine stack is used.
 </P>  </P>
 <P>  <P>
 If <i>callback</i> is NULL and <i>data</i> is not NULL, <i>data</i> must  If <i>callback</i> is NULL and <i>data</i> is not NULL, <i>data</i> must
be a valid JIT stack, the result of calling <b>pcre[16]_jit_stack_alloc()</b>.be a valid JIT stack, the result of calling <b>pcre[16|32]_jit_stack_alloc()</b>.
 </P>  </P>
 <P>  <P>
 If <i>callback</i> not NULL, it is called with <i>data</i> as an argument at  If <i>callback</i> not NULL, it is called with <i>data</i> as an argument at
 the start of matching, in order to set up a JIT stack. If the result is NULL,  the start of matching, in order to set up a JIT stack. If the result is NULL,
 the internal 32K stack is used; otherwise the return value must be a valid JIT  the internal 32K stack is used; otherwise the return value must be a valid JIT
stack, the result of calling <b>pcre[16]_jit_stack_alloc()</b>.stack, the result of calling <b>pcre[16|32]_jit_stack_alloc()</b>.
 </P>  </P>
 <P>  <P>
 You may safely assign the same JIT stack to multiple patterns, as long as they  You may safely assign the same JIT stack to multiple patterns, as long as they

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>