Skip to main content

xmlCheckVersion

Function xmlCheckVersion 

Source
pub fn xmlCheckVersion(version: c_int) -> c_int
Expand description

Check that the library version is at least version.

§Returns

  • 0 if the library version is >= version
  • -1 if the library version is < version

§UPSTREAM-PARITY

int xmlCheckVersion(int version);

Oracle behavior: compares LIBXML2_VERSION (compiled-in) against version. Returns 0 if compatible, -1 if not.