Skip to main content

xmlMallocAtomicImpl

Function xmlMallocAtomicImpl 

Source
pub unsafe extern "C" fn xmlMallocAtomicImpl(
    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. Backing the exported xmlMallocAtomic data global.