Package: cairo

Function cairo-version-encode

Lambda List

cairo-version-encode (major minor micro)

Arguments

major -- an integer with the major component of the version number
minor -- an integer with the minor component of the version number
micro -- an integer with the micro component of the version number

Return Value

An integer with the encoded version.

Details

This function encodes the given Cairo version into an integer. Two encoded version numbers can be compared as integers. The encoding ensures that later versions compare greater than earlier versions.
 

See also

2020-12-5