Type Alias xmlStrdupFunc

Source
pub type xmlStrdupFunc = Option<unsafe extern "C" fn(str_: *const c_char) -> *mut c_char>;
Expand description

xmlStrdupFunc: @str: a zero terminated string

Signature for an strdup() implementation.

Returns the copy of the string or NULL in case of error.

Aliased Type§

enum xmlStrdupFunc {
    None,
    Some(unsafe extern "C" fn(_: *const i8) -> *mut i8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const i8) -> *mut i8)

Some value of type T.