mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-19 18:50:25 +08:00
one more doc patch from Charlie Bozeman. Daniel
* xmlmemory.c: one more doc patch from Charlie Bozeman. Daniel
This commit is contained in:
parent
5344c60dc1
commit
26908ab580
@ -1,3 +1,7 @@
|
||||
Tue Jan 1 17:48:56 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlmemory.c: one more doc patch from Charlie Bozeman.
|
||||
|
||||
Mon Dec 31 17:35:40 CET 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* DOCBparser.c parser.c valid.c include/libxml/parserInternals.h
|
||||
|
12
xmlmemory.c
12
xmlmemory.c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* memory.c: libxml memory allocator wrapper.
|
||||
* xmlmemory.c: libxml memory allocator wrapper.
|
||||
*
|
||||
* daniel@veillard.com
|
||||
*/
|
||||
@ -156,7 +156,7 @@ xmlMallocLoc(size_t size, const char * file, int line)
|
||||
|
||||
if (!p) {
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
"xmlMalloc : Out of free space\n");
|
||||
"xmlMallocLoc : Out of free space\n");
|
||||
xmlMemoryDump();
|
||||
return(NULL);
|
||||
}
|
||||
@ -333,7 +333,7 @@ xmlMemFree(void *ptr)
|
||||
|
||||
error:
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
"xmlFree(%lX) error\n", (unsigned long) ptr);
|
||||
"xmlMemFree(%lX) error\n", (unsigned long) ptr);
|
||||
xmlMallocBreakpoint();
|
||||
return;
|
||||
}
|
||||
@ -346,7 +346,7 @@ error:
|
||||
*
|
||||
* a strdup() equivalent, with logging of the allocation info.
|
||||
*
|
||||
* Returns a pointer to the new string or NULL if allocation error occured.
|
||||
* Returns a pointer to the new string or NULL if allocation error occurred.
|
||||
*/
|
||||
|
||||
char *
|
||||
@ -403,7 +403,7 @@ error:
|
||||
*
|
||||
* a strdup() equivalent, with logging of the allocation info.
|
||||
*
|
||||
* Returns a pointer to the new string or NULL if allocation error occured.
|
||||
* Returns a pointer to the new string or NULL if allocation error occurred.
|
||||
*/
|
||||
|
||||
char *
|
||||
@ -414,7 +414,7 @@ xmlMemoryStrdup(const char *str) {
|
||||
/**
|
||||
* xmlMemUsed:
|
||||
*
|
||||
* returns the amount of memory currenly allocated
|
||||
* returns the amount of memory currently allocated
|
||||
*
|
||||
* Returns an int representing the amount of memory allocated.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user