libxml2_xmlmemory.h File Reference

Typedef xmlFreeFunc

typedef void(XMLCALL *xmlFreeFunc

DEBUG_MEMORY:

DEBUG_MEMORY replaces the allocator with a collect and debug shell to the libc allocator. DEBUG_MEMORY should only be activated when debugging libxml i.e. if libxml has been configured with --with-debug-mem too. DEBUG_MEMORY_LOCATION:

DEBUG_MEMORY_LOCATION should be activated only when debugging libxml i.e. if libxml has been configured with --with-debug-mem too. xmlFreeFunc: Signature for a free() implementation.

Typedef xmlMallocFunc

typedef void *(XMLCALL *xmlMallocFunc

xmlMallocFunc: Signature for a malloc() implementation.

Returns a pointer to the newly allocated block or NULL in case of error.

Typedef xmlReallocFunc

typedef void *(XMLCALL *xmlReallocFunc

xmlReallocFunc: Signature for a realloc() implementation.

Returns a pointer to the newly reallocated block or NULL in case of error.

Typedef xmlStrdupFunc

typedef char *(XMLCALL *xmlStrdupFunc

xmlStrdupFunc: Signature for an strdup() implementation.

Returns the copy of the string or NULL in case of error.