Type Alias xmlOutputCloseCallback

Source
pub type xmlOutputCloseCallback = Option<unsafe extern "C" fn(context: *mut c_void) -> c_int>;
Expand description

xmlOutputCloseCallback: @context: an Output context

Callback used in the I/O Output API to close the resource

Returns 0 or -1 in case of error

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.