diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-16 11:04:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-16 11:04:10 +0000 |
commit | 437835559168a5945a1196161660c439266eb59d (patch) | |
tree | 60ee164dbe2d9fed20a7455b5e72f3d5b54e6839 /libs/Pcre16/docs/doc/html/pcre_assign_jit_stack.html | |
parent | ef9e5821a695a9f875712c2d767360cce15c0f6b (diff) |
unified project for pcre16 moved to libs
git-svn-id: http://svn.miranda-ng.org/main/trunk@14195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/Pcre16/docs/doc/html/pcre_assign_jit_stack.html')
-rw-r--r-- | libs/Pcre16/docs/doc/html/pcre_assign_jit_stack.html | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/libs/Pcre16/docs/doc/html/pcre_assign_jit_stack.html b/libs/Pcre16/docs/doc/html/pcre_assign_jit_stack.html new file mode 100644 index 0000000000..b2eef704db --- /dev/null +++ b/libs/Pcre16/docs/doc/html/pcre_assign_jit_stack.html @@ -0,0 +1,76 @@ +<html> +<head> +<title>pcre_assign_jit_stack specification</title> +</head> +<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> +<h1>pcre_assign_jit_stack man page</h1> +<p> +Return to the <a href="index.html">PCRE index page</a>. +</p> +<p> +This page is part of the PCRE HTML documentation. It was generated automatically +from the original man page. If there is any nonsense in it, please consult the +man page, in case the conversion went wrong. +<br> +<br><b> +SYNOPSIS +</b><br> +<P> +<b>#include <pcre.h></b> +</P> +<P> +<b>void pcre_assign_jit_stack(pcre_extra *<i>extra</i>,</b> +<b> pcre_jit_callback <i>callback</i>, void *<i>data</i>);</b> +<br> +<br> +<b>void pcre16_assign_jit_stack(pcre16_extra *<i>extra</i>,</b> +<b> pcre16_jit_callback <i>callback</i>, void *<i>data</i>);</b> +<br> +<br> +<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> +DESCRIPTION +</b><br> +<P> +This function provides control over the memory used as a stack at run-time by a +call to <b>pcre[16|32]_exec()</b> with a pattern that has been successfully +compiled with JIT optimization. The arguments are: +<pre> + extra the data pointer returned by <b>pcre[16|32]_study()</b> + callback a callback function + data a JIT stack or a value to be passed to the callback + function +</PRE> +</P> +<P> +If <i>callback</i> is NULL and <i>data</i> is NULL, an internal 32K block on +the machine stack is used. +</P> +<P> +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|32]_jit_stack_alloc()</b>. +</P> +<P> +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 internal 32K stack is used; otherwise the return value must be a valid JIT +stack, the result of calling <b>pcre[16|32]_jit_stack_alloc()</b>. +</P> +<P> +You may safely assign the same JIT stack to multiple patterns, as long as they +are all matched in the same thread. In a multithread application, each thread +must use its own JIT stack. For more details, see the +<a href="pcrejit.html"><b>pcrejit</b></a> +page. +</P> +<P> +There is a complete description of the PCRE native API in the +<a href="pcreapi.html"><b>pcreapi</b></a> +page and a description of the POSIX API in the +<a href="pcreposix.html"><b>pcreposix</b></a> +page. +<p> +Return to the <a href="index.html">PCRE index page</a>. +</p> |