Skip to main content

xmlOutputCloseCallback

Type Alias xmlOutputCloseCallback 

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

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

@param context an Output context @returns 0 or -1 in case of error

Aliased Type§

pub 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.