Package: pango

Function pango-version-check

Lambda List

pango-version-check (required-major required-minor required-micro)

Arguments

required-major -- an integer with the required major version
required-minor -- an integer with the required minor version
required-micro -- an integer with the required major version

Return Value

Returns nil if the Pango library is compatible with the given version, or a string describing the version mismatch.

Details

Checks that the Pango library in use is compatible with the given version.

Compatibility is defined by two things: first the version of the running library is newer than the version required-major.required-minor.required-micro. Second the running library must be binary compatible with the version required-major.required-minor.required-micro (same major version.)

Example

(pango-version-check 1 46 0) => NIL
(pango-version-check 1 48 0) => "Pango version too old (micro mismatch)"    
 

See also

2020-12-1