Skip to main content

xmlMemGet

Function xmlMemGet 

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

Get the current memory allocator functions.

§UPSTREAM-PARITY

void xmlMemGet(xmlFreeFunc *freeFunc,
               xmlMallocFunc *mallocFunc,
               xmlReallocFunc *reallocFunc,
               xmlStrdupFunc *strdupFunc);

§SAFETY

  • All output pointers must be valid (non-null) and writable