Package: cairo

Function cairo:version-encode

Lambda List

cairo:version-encode (major minor micro)

Arguments

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

Return Value

The 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

2025-1-18