ks_version

Function ks_version 

Source
pub unsafe extern "C" fn ks_version(
    major: *mut c_uint,
    minor: *mut c_uint,
) -> c_uint
Expand description

Returns the combined API version, as well as the major and minor version numbers.

Inputs:

  • major: major number of API version;
  • minor: minor number of API version.

Return value:

  • hexical number as major << 8 | minor, which encodes both major & minor versions.