[Expat-checkins] expat/doc reference.html,1.67,1.68
Karl Waclawek
kwaclaw at users.sourceforge.net
Fri Dec 23 15:45:32 CET 2005
- Previous message: [Expat-checkins] expat/lib winconfig.h,1.3,1.4
- Next message: [Expat-checkins] expat/lib expat.h, 1.76, 1.77 expat_external.h, 1.3, 1.4 xmlparse.c, 1.150, 1.151 xmltok.h, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/expat/expat/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22010/doc
Modified Files:
reference.html
Log Message:
Added support for 64-bit integers when reporting byte indexes,
line and column numbers. Can be turned on/off using the
XML_LARGE_SIZE switch.
Index: reference.html
===================================================================
RCS file: /cvsroot/expat/expat/doc/reference.html,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- reference.html 13 Dec 2005 17:20:16 -0000 1.67
+++ reference.html 23 Dec 2005 14:45:27 -0000 1.68
@@ -344,6 +344,16 @@
short</code> is used. Defining this implies
<code>XML_UNICODE</code>.</dd>
+<dt>XML_LARGE_SIZE</dt>
+<dd>If defined, causes the <code>XML_Size</code> and <code>XML_Index</code>
+integer types to be at least 64 bits in size. This is intended to support
+processing of very large input streams, where the return values of
+<code><a href="#XML_GetCurrentByteIndex" >XML_GetCurrentByteIndex</a></code>,
+<code><a href="#XML_GetCurrentLineNumber" >XML_GetCurrentLineNumber</a></code> and
+<code><a href="#XML_GetCurrentColumnNumber" >XML_GetCurrentColumnNumber</a></code>
+could overflow. It may not be supported by all compilers, and is turned
+off by default.</dd>
+
<dt>XML_CONTEXT_BYTES</dt>
<dd>The number of input bytes of markup context which the parser will
ensure are available for reporting via <code><a href=
@@ -1905,7 +1915,7 @@
</div>
<pre class="fcndec" id="XML_GetCurrentByteIndex">
-long XMLCALL
+XML_Index XMLCALL
XML_GetCurrentByteIndex(XML_Parser p);
</pre>
<div class="fcndef">
@@ -1916,7 +1926,7 @@
</div>
<pre class="fcndec" id="XML_GetCurrentLineNumber">
-int XMLCALL
+XML_Size XMLCALL
XML_GetCurrentLineNumber(XML_Parser p);
</pre>
<div class="fcndef">
@@ -1925,7 +1935,7 @@
</div>
<pre class="fcndec" id="XML_GetCurrentColumnNumber">
-int XMLCALL
+XML_Size XMLCALL
XML_GetCurrentColumnNumber(XML_Parser p);
</pre>
<div class="fcndef">
- Previous message: [Expat-checkins] expat/lib winconfig.h,1.3,1.4
- Next message: [Expat-checkins] expat/lib expat.h, 1.76, 1.77 expat_external.h, 1.3, 1.4 xmlparse.c, 1.150, 1.151 xmltok.h, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Expat-checkins
mailing list