Skip to main content

xmlMemSize

Function xmlMemSize 

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

Return the size of an allocated block (upstream xmlmemory.h).

size_t xmlMemSize(void *ptr);

Returns the recorded size from the block registry (0 for unknown or foreign pointers, matching upstream’s lookup-miss behavior).