[Pcre-svn] [776] code/trunk/doc/pcreapi.3: Documentation upd…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [776] code/trunk/doc/pcreapi.3: Documentation update.
Revision: 776
          http://vcs.pcre.org/viewvc?view=rev&revision=776
Author:   ph10
Date:     2011-12-01 11:02:56 +0000 (Thu, 01 Dec 2011)


Log Message:
-----------
Documentation update.

Modified Paths:
--------------
    code/trunk/doc/pcreapi.3


Modified: code/trunk/doc/pcreapi.3
===================================================================
--- code/trunk/doc/pcreapi.3    2011-12-01 10:35:30 UTC (rev 775)
+++ code/trunk/doc/pcreapi.3    2011-12-01 11:02:56 UTC (rev 776)
@@ -1262,10 +1262,13 @@
 .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 @@
 .rs
 .sp
 .nf
-Last updated: 14 November 2011
+Last updated: 01 December 2011
 Copyright (c) 1997-2011 University of Cambridge.
 .fi