Type Alias xmlValidityWarningFunc

Source
pub type xmlValidityWarningFunc = Option<unsafe extern "C" fn(ctx: *mut c_void, msg: *const c_char, ...)>;
Expand description

xmlValidityWarningFunc: @ctx: usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user. @msg: the string to format *printf like vararg @…: remaining arguments to the format

Callback called when a validity warning is found. This is a message oriented function similar to an *printf function.

Aliased Type§

enum xmlValidityWarningFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, ...)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, ...))

Some value of type T.