Skip to main content

xmlGcMemSetup

Function xmlGcMemSetup 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlGcMemSetup( freeFunc: Option<xmlFreeFunc>, mallocFunc: Option<xmlMallocFunc>, reallocFunc: Option<xmlReallocFunc>, strdupFunc: Option<xmlStrdupFunc>, )
Expand description

Set GC-aware memory allocator functions.

ยงUPSTREAM-PARITY

This is a wrapper around xmlMemSetup in modern libxml2. Historically, it was separate for the GC-allocated memory pool, but in modern versions both functions do the same thing.