diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-10-21 16:33:30 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-10-21 16:33:30 +0000 |
commit | 65f57acf6b8b2a5eb96890ffa6e68eccd0142192 (patch) | |
tree | 35e45e12236fb7b4de30d6f44365139eb39f4cc9 /doc/html/pcre2jit.html | |
parent | b0d8dbd60fdbfcee7aac8cf5f8fc0fbb46376734 (diff) | |
download | pcre2-65f57acf6b8b2a5eb96890ffa6e68eccd0142192.tar.gz |
A lot more documentation.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@121 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/html/pcre2jit.html')
-rw-r--r-- | doc/html/pcre2jit.html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/html/pcre2jit.html b/doc/html/pcre2jit.html index 5232470..0699990 100644 --- a/doc/html/pcre2jit.html +++ b/doc/html/pcre2jit.html @@ -79,7 +79,9 @@ second is a set of option bits, which must include at least one of PCRE2_JIT_COMPLETE, PCRE2_JIT_PARTIAL_HARD, or PCRE2_JIT_PARTIAL_SOFT. </P> <P> -The returned value from <b>pcre2_jit_compile()</b> is FIXME FIXME. +The returned value from <b>pcre2_jit_compile()</b> is zero on success, or a +negative error code. In particular, PCRE2_ERROR_JIT_BADOPTION is returned if +JIT is not supported or if an unknown options bit is set. </P> <P> PCRE2_JIT_COMPLETE requests the JIT compiler to generate code for complete @@ -361,8 +363,12 @@ processed by <b>pcre2_jit_compile()</b>). <P> The fast path function is called <b>pcre2_jit_match()</b>, and it takes exactly the same arguments as <b>pcre2_match()</b>, plus one additional argument that -must point to a JIT stack. The JIT stack arrangements described above do not -apply. The return values are the same as for <b>pcre2_match()</b>. +must either point to a JIT stack or be NULL. In the latter case, if a callback +function has been set up by <b>pcre2_jit_stack_alloc()</b>, it is called. +Otherwise the system stack is used. The return values are the same as for +<b>pcre2_match()</b>, plus PCRE2_ERROR_JIT_BADOPTION if a matching mode (partial +or complete) is requested that was not compiled. Unsupported option bits are +ignored. </P> <P> When you call <b>pcre2_match()</b>, as well as testing for invalid options, a @@ -391,7 +397,7 @@ Cambridge CB2 3QH, England. </P> <br><a name="SEC12" href="#TOC1">REVISION</a><br> <P> -Last updated: 29 September 2014 +Last updated: 21 October 2014 <br> Copyright © 1997-2014 University of Cambridge. <br> |