pub unsafe extern "C" fn xmlMallocAtomicImpl(
size: usize,
) -> *mut c_voidExpand description
Allocate through the exported xmlMallocAtomic variable.
§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;
xmlMemSetup aliases it to the same hook (upstream xmlmemory.c).
§SAFETY
- The returned pointer must be freed with
xmlFree sizemay be 0 (returns a valid non-NULL pointer or NULL)