[][src]Function libpulse_binding::version::compare_with_library_version

pub fn compare_with_library_version(
    major: u8,
    minor: u8
) -> Result<Ordering, Error>

Compares the supplied version with that of the runtime system library.

Returns the comparison, or Err if a problem occurred parsing the library version string. The comparison will represent supplied.cmp(&library).