Skip to main content

__xmlMalloc

Function __xmlMalloc 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn __xmlMalloc() -> *mut xmlMallocFunc
Expand description

Upstream xmlMallocFunc *__xmlMalloc(void).

§Safety

  • The returned pointer is the address of the exported xmlMalloc variable; it stays valid for the process lifetime and may be read or written through exactly like upstream’s thread-local allocator slot.