From f51dd67f3a3f472af0620391eb588eeca4533689 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 11 Nov 2004 12:53:54 +0000 Subject: Load /tmp/tmp.n9GTkp/libxml2-2.6.16 into packages/libxml2/branches/upstream/current. --- doc/html/libxml-xmlmemory.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/html/libxml-xmlmemory.html') diff --git a/doc/html/libxml-xmlmemory.html b/doc/html/libxml-xmlmemory.html index 90f9167..23d3416 100644 --- a/doc/html/libxml-xmlmemory.html +++ b/doc/html/libxml-xmlmemory.html @@ -30,6 +30,7 @@ void xmlFreeFunc (void * mem) void * xmlMallocFunc (size_t size)
void *	xmlMallocLoc			(size_t size, 
const char * file,
int line)
+
int	xmlMemBlocks			(void)
void	xmlMemDisplay			(FILE * fp)
void	xmlMemFree			(void * ptr)
int	xmlMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc)
@@ -68,7 +69,9 @@ void * xmlMallocFunc (size_t size)

Signature for a malloc() implementation.

size:the size requested in bytes
Returns:a pointer to the newly allocated block or NULL in case of error.

Function: xmlMallocLoc

void *	xmlMallocLoc			(size_t size, 
const char * file,
int line)

a malloc() equivalent, with logging of the allocation info.

-
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemDisplay

void	xmlMemDisplay			(FILE * fp)
+
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemBlocks

int	xmlMemBlocks			(void)
+

Provides the number of memory areas currently allocated

+
Returns:an int representing the number of blocks

Function: xmlMemDisplay

void	xmlMemDisplay			(FILE * fp)

show in-extenso the memory blocks allocated

fp:a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist

Function: xmlMemFree

void	xmlMemFree			(void * ptr)

-- cgit v1.2.3