--- embedaddon/pcre/doc/html/pcre_assign_jit_stack.html 2012/02/21 23:05:52 1.1 +++ embedaddon/pcre/doc/html/pcre_assign_jit_stack.html 2012/02/21 23:50:25 1.1.1.2 @@ -22,15 +22,19 @@ SYNOPSIS void pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *data);

+

+void pcre16_assign_jit_stack(pcre16_extra *extra, +pcre16_jit_callback callback, void *data); +


DESCRIPTION

This function provides control over the memory used as a stack at runtime by a -call to pcre_exec() with a pattern that has been successfully compiled -with JIT optimization. The arguments are: +call to pcre[16]_exec() with a pattern that has been successfully +compiled with JIT optimization. The arguments are:

-  extra     the data pointer returned by pcre_study()
+  extra     the data pointer returned by pcre[16]_study()
   callback  a callback function
   data      a JIT stack or a value to be passed to the callback
               function
@@ -42,13 +46,13 @@ the machine stack is used.
 

If callback is NULL and data is not NULL, data must -be a valid JIT stack, the result of calling pcre_jit_stack_alloc(). +be a valid JIT stack, the result of calling pcre[16]_jit_stack_alloc().

If callback not NULL, it is called with data as an argument at 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 -stack, the result of calling pcre_jit_stack_alloc(). +stack, the result of calling pcre[16]_jit_stack_alloc().

You may safely assign the same JIT stack to multiple patterns, as long as they