#[unsafe(no_mangle)]pub unsafe extern "C" fn xmlRealloc(
ptr: *mut c_void,
size: usize,
) -> *mut c_voidExpand description
Reallocate memory.
§UPSTREAM-PARITY
void *xmlRealloc(void *ptr, size_t size);Changes the size of the memory block pointed to by ptr.
If ptr is NULL, behaves like xmlMalloc.
If size is 0, may return NULL (like C realloc).
§SAFETY
ptrmust be a valid pointer fromxmlMalloc,xmlMallocAtomic, orxmlRealloc, or NULL- The returned pointer must be freed with
xmlFree