diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2008-08-27 11:45:41 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2008-08-27 11:45:41 +0000 |
commit | 2cba415895e2cf9a15567038151009869b6c52a7 (patch) | |
tree | dd987f817160c8a79da16542b8dc17ac0ea86036 /doc/devhelp/libxml2-xmlmemory.html | |
parent | 8915c150b5630178b0f9e83f0d911090095b58a1 (diff) | |
download | android_external_libxml2-2cba415895e2cf9a15567038151009869b6c52a7.tar.gz android_external_libxml2-2cba415895e2cf9a15567038151009869b6c52a7.tar.bz2 android_external_libxml2-2cba415895e2cf9a15567038151009869b6c52a7.zip |
fix a small initialization problem raised by Ashwin increase testing
* threads.c: fix a small initialization problem raised by Ashwin
* testapi.c gentest.py: increase testing especially for document
with an internal subset, and entities
* tree.c: fix a deallocation issue when unlinking entities from
a document.
* valid.c: fix a missing entry point test not found previously.
* doc/*: regenerated the APIs, docs etc.
daniel
svn path=/trunk/; revision=3778
Diffstat (limited to 'doc/devhelp/libxml2-xmlmemory.html')
-rw-r--r-- | doc/devhelp/libxml2-xmlmemory.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/devhelp/libxml2-xmlmemory.html b/doc/devhelp/libxml2-xmlmemory.html index eabbbf90..8610538f 100644 --- a/doc/devhelp/libxml2-xmlmemory.html +++ b/doc/devhelp/libxml2-xmlmemory.html @@ -52,6 +52,7 @@ void * <a href="#xmlMemRealloc">xmlMemRealloc</a> (void * ptr, <br/> size int <a href="#xmlInitMemory">xmlInitMemory</a> (void); void <a href="#xmlMemFree">xmlMemFree</a> (void * ptr); void * <a href="#xmlMemMalloc">xmlMemMalloc</a> (size_t size); +void <a href="#xmlMemDisplayLast">xmlMemDisplayLast</a> (FILE * fp, <br/> long nbBytes); int <a href="#xmlMemGet">xmlMemGet</a> (<a href="libxml2-xmlmemory.html#xmlFreeFunc">xmlFreeFunc</a> * freeFunc, <br/> <a href="libxml2-xmlmemory.html#xmlMallocFunc">xmlMallocFunc</a> * mallocFunc, <br/> <a href="libxml2-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a> * reallocFunc, <br/> <a href="libxml2-xmlmemory.html#xmlStrdupFunc">xmlStrdupFunc</a> * strdupFunc); void <a href="#xmlMemoryDump">xmlMemoryDump</a> (void); void * <a href="#xmlMallocLoc">xmlMallocLoc</a> (size_t size, <br/> const char * file, <br/> int line); @@ -131,6 +132,10 @@ char * <a href="#xmlMemStrdupLoc">xmlMemStrdupLoc</a> (const char * str, <br/> </pre><p>show in-extenso the memory blocks allocated</p> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>fp</tt></i>:</span></td><td>a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist</td></tr></tbody></table></div></div> <hr/> + <div class="refsect2" lang="en"><h3><a name="xmlMemDisplayLast"/>xmlMemDisplayLast ()</h3><pre class="programlisting">void xmlMemDisplayLast (FILE * fp, <br/> long nbBytes)<br/> +</pre><p>the last nbBytes of memory allocated and not freed, useful for dumping the memory left allocated between two places at runtime.</p> +<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>fp</tt></i>:</span></td><td>a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist</td></tr><tr><td><span class="term"><i><tt>nbBytes</tt></i>:</span></td><td>the amount of memory to dump</td></tr></tbody></table></div></div> + <hr/> <div class="refsect2" lang="en"><h3><a name="xmlMemFree"/>xmlMemFree ()</h3><pre class="programlisting">void xmlMemFree (void * ptr)<br/> </pre><p>a free() equivalent, with error checking.</p> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ptr</tt></i>:</span></td><td>the memory block pointer</td></tr></tbody></table></div></div> |