#[unsafe(no_mangle)]pub const unsafe extern "C" fn xmlCheckVersion(_version: c_int)Expand description
Check that the library version is at least version.
Check the compiled-in library version against a caller-required version.
§UPSTREAM-PARITY
void xmlCheckVersion(int version);Oracle parserInternals.c behavior: compares LIBXML_VERSION (compiled-in)
against version and prints a fatal/warning message on mismatch. The
candidate’s compiled-in version always satisfies the oracle’s guard, so
no message is emitted. Returns nothing (11.1-Z.3 signature court: the
pre-Z.3 candidate returned int).
§SAFETY
The function touches crate-global state only; it is safe as long as the caller respects the library’s global initialization/cleanup ordering (xmlInitParser before use, xmlCleanupParser only after all users are done).
Violating the global lifecycle ordering, or calling this after teardown or from a signal handler, is undefined behavior.