1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

one more doc patch from Charlie Bozeman. Daniel

* xmlmemory.c: one more doc patch from Charlie Bozeman.
Daniel
This commit is contained in:
Daniel Veillard 2002-01-01 16:50:03 +00:00
parent 5344c60dc1
commit 26908ab580
2 changed files with 10 additions and 6 deletions

View File

@ -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

View File

@ -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.
*/