Package: glib

Function glib:key-file-int64

Lambda List

glib:key-file-int64 (keyfile group key)

Arguments

keyfile -- a g:key-file instance
group -- a string for the group name
key -- a string for the key

Return Value

The integer with the value associated with the key as an integer, or 0 if the key was not found or could not be parsed. This is similar to the g:key-file-integer function but can return 64-bit results without truncation.

Details

The g:key-file-int64 function returns the value associated with key under group as an integer. The (setf g:key-file-int64) function associates a new integer with key under group. If key cannot be found then it is created.

If key cannot be found then 0 is returned. Likewise, if the value associated with key cannot be interpreted as an integer then 0 is returned.
 

See also

2025-1-12