mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-28 23:14:57 +03:00
trying to clarify even more the xmlCleanupParser() use and the memory
* parser.c docs/*: trying to clarify even more the xmlCleanupParser() use and the memory documentation Daniel svn path=/trunk/; revision=3719
This commit is contained in:
15
parser.c
15
parser.c
@@ -13176,12 +13176,15 @@ xmlInitParser(void) {
|
||||
/**
|
||||
* xmlCleanupParser:
|
||||
*
|
||||
* Cleanup function for the XML library. It tries to reclaim all
|
||||
* parsing related global memory allocated for the library processing.
|
||||
* It doesn't deallocate any document related memory. Calling this
|
||||
* function should not prevent reusing the library but one should
|
||||
* call xmlCleanupParser() only when the process has
|
||||
* finished using the library and all XML document built with it.
|
||||
* This function name is somewhat misleading. It does not clean up
|
||||
* parser state, it cleans up memory allocated by the library itself.
|
||||
* It is a cleanup function for the XML library. It tries to reclaim all
|
||||
* related global memory allocated for the library processing.
|
||||
* It doesn't deallocate any document related memory. One should
|
||||
* call xmlCleanupParser() only when the process has finished using
|
||||
* the library and all XML/HTML documents built with it.
|
||||
* See also xmlInitParser() which has the opposite function of preparing
|
||||
* the library for operations.
|
||||
*/
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user