Package: pango

Function pango:version-check

Lambda List

pango:version-check (major minor micro)

Arguments

major -- an integer for the required major version
minor -- an integer for the required minor version
micro -- an integer for 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 major.minor.micro version. Second the running library must be binary compatible with the major.minor.micro version (same major version).

Example

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

See also

2024-2-24