Skip to main content

xmlMallocLoc

Function xmlMallocLoc 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlMallocLoc( size: usize, _file: *const c_char, _line: c_int, ) -> *mut c_void
Expand description

Allocate memory, recording the allocation site (upstream xmlmemory.h).

void *xmlMallocLoc(size_t size, const char *file, int line);

The default candidate allocator does not track allocation sites (see residual R-000131); the location arguments are accepted for ABI compatibility and ignored.