Type Definition libxml::bindings::xmlValidityWarningFunc[][src]

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

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.