Package: glib

Function glib-check-version

Lambda List

glib-check-version (major minor micro)

Arguments

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

Return Value

nil if the GLib C library the Lisp binding is running against is compatible with the given version, or a string describing the version mismatch.

Details

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

Examples

Suppose the Glib library version 2.66.1 is installed. Then the following results are returned:
(glib-check-version 2 66 1) => NIL
(glib-check-version 2 66 2) => "GLib version too old (micro mismatch)"    
 

See also

2021-4-9