Skip to main content

xmlMallocAtomic

Function xmlMallocAtomic 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlMallocAtomic(size: usize) -> *mut c_void
Expand description

Allocate memory that will never contain pointers to other memory.

ยงUPSTREAM-PARITY

void *xmlMallocAtomic(size_t size);

Identical to xmlMalloc but hints to the GC that the memory does not contain pointers. In modern libxml2, this is equivalent to xmlMalloc.