diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-12-01 11:02:56 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-12-01 11:02:56 +0000 |
commit | e3827e39b49ae5a5095aa7964cc9d3dde6ccdf5c (patch) | |
tree | 1bc58e7ed441eaf7355edd8b92426c477ff4f6b2 | |
parent | b12f8d8119b6ff63cfb17e0a53761a194ab7db15 (diff) | |
download | pcre-e3827e39b49ae5a5095aa7964cc9d3dde6ccdf5c.tar.gz |
Documentation update.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@776 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | doc/pcreapi.3 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/pcreapi.3 b/doc/pcreapi.3 index da05d05..22b9d15 100644 --- a/doc/pcreapi.3 +++ b/doc/pcreapi.3 @@ -1262,10 +1262,13 @@ For such patterns, the PCRE_ANCHORED bit is set in the options returned by .sp PCRE_INFO_SIZE .sp -Return the size of the compiled pattern, that is, the value that was passed as -the argument to \fBpcre_malloc()\fP when PCRE was getting memory in which to -place the compiled data. The fourth argument should point to a \fBsize_t\fP -variable. +Return the size of the compiled pattern. The fourth argument should point to a +\fBsize_t\fP variable. This value does not include the size of the \fBpcre\fP +structure that is returned by \fBpcre_compile()\fP. The value that is passed as +the argument to \fBpcre_malloc()\fP when \fBpcre_compile()\fP is getting memory +in which to place the compiled data is the value returned by this option plus +the size of the \fBpcre\fP structure. Studying a compiled pattern, with or +without JIT, does not alter the value returned by this option. .sp PCRE_INFO_STUDYSIZE .sp @@ -2544,6 +2547,6 @@ Cambridge CB2 3QH, England. .rs .sp .nf -Last updated: 14 November 2011 +Last updated: 01 December 2011 Copyright (c) 1997-2011 University of Cambridge. .fi |