[Expat-checkins] CVS: expat/doc reference.html,1.2,1.3
Clark Cooper
coopercc@users.sourceforge.net
Sat, 23 Sep 2000 20:43:40 -0700
- Previous message: [Expat-checkins] CVS: expat config.hin,1.2,1.3 configure.in,1.2,1.3
- Next message: [Expat-checkins] CVS: expat/lib Makefile.in,1.2,1.3 expat.h,1.2,1.3 xmlparse.c,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/expat/expat/doc
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26511/doc
Modified Files:
reference.html
Log Message:
Added dynamic malloc substitution. Added libtool versioning.
Index: reference.html
===================================================================
RCS file: /cvsroot/expat/expat/doc/reference.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** reference.html 2000/09/22 18:24:28 1.2
--- reference.html 2000/09/24 03:43:37 1.3
***************
*** 111,115 ****
<li><a href="#XML_SetEncoding">XML_SetEncoding</a></li>
<li><a href="#XML_SetParamEntityParsing">XML_SetParamEntityParsing</a></li>
- <li><a href="#XML_ContentFree">XML_ContentFree</a></li>
</ul>
</li>
--- 111,114 ----
***************
*** 565,568 ****
--- 564,589 ----
part of a legal URI.</div>
+ <div class="fcndec"><a name="XML_ParserCreate_MM"><pre>
+ XML_Parser
+ XML_ParserCreate_MM(const XML_Char *encoding,
+ const XML_Memory_Handling_Suite *ms,
+ const XML_Char *sep)
+ </pre></a></div>
+ <div class="fcndef">
+ <p>Construct a new parser using the suite of memory handling functions
+ specified in <code>ms</code>. If <code>ms</code> is NULL, then use the
+ standard set of memory management functions. If <code>sep</code> is
+ non NULL, then namespace processing is enabled in the created parser
+ and the character pointed at by sep is used as the separator between
+ the namespace URI and the local part of the name</p>
+ <div class="eg"><pre>
+ typedef struct {
+ void *(*malloc_fcn)(size_t size);
+ void *(*realloc_fcn)(void *ptr, size_t size);
+ void (*free_fcn)(void *ptr);
+ } XML_Memory_Handling_Suite;
+ </pre></div>
+ </div>
+
<div class="fcndec"><a name="XML_ExternalEntityParserCreate"><pre>
XML_Parser
***************
*** 1072,1077 ****
with the name of the element in the declaration and a pointer to a structure
that contains the element model. It is the application's responsibility to
! free this data structure by calling
! <a href="#XML_ContentFree">XML_ContentFree</a>.</p>
<p>The <code>model</code> argument is the root of a tree of
--- 1093,1097 ----
with the name of the element in the declaration and a pointer to a structure
that contains the element model. It is the application's responsibility to
! free this data structure.</p>
<p>The <code>model</code> argument is the root of a tree of
***************
*** 1414,1425 ****
<li>XML_PARAM_ENTITY_PARSING_ALWAYS
</ul>
- </div>
-
- <div class="fcndec"><a name="XML_ContentFree"><pre>
- void
- XML_ContentFree(XML_Content *content);
- </pre></a></div>
- <div class="fcndef">
- Free the model data structure passed to an element declaration handler.
</div>
--- 1434,1437 ----
- Previous message: [Expat-checkins] CVS: expat config.hin,1.2,1.3 configure.in,1.2,1.3
- Next message: [Expat-checkins] CVS: expat/lib Makefile.in,1.2,1.3 expat.h,1.2,1.3 xmlparse.c,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]