Type Alias xmlReallocFunc

Source
pub type xmlReallocFunc = Option<unsafe extern "C" fn(mem: *mut c_void, size: usize) -> *mut c_void>;
Expand description

xmlReallocFunc: @mem: an already allocated block of memory @size: the new size requested in bytes

Signature for a realloc() implementation.

Returns a pointer to the newly reallocated block or NULL in case of error.

Aliased Type§

enum xmlReallocFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void)

Some value of type T.