KeyFile.getInt64

Returns the value associated with key under group_name as a signed 64-bit integer. This is similar to g_key_file_get_integer() but can return 64-bit results without truncation. Since 2.26

class KeyFile
long
getInt64
(
string groupName
,
string key
)

Parameters

groupName string

a non-NULL group name

key string

a non-NULL key

Return Value

Type: long

the value associated with the key as a signed 64-bit integer, or 0 if the key was not found or could not be parsed.

Throws

GException on failure.

Meta