get_double_list


Description:

[ Version ( since = "2.12" ) ]
[ CCode ( array_length_type = "gsize" ) ]
public double[] get_double_list (string group_name, string key) throws KeyFileError

Returns the values associated with key under group_name as doubles.

If key cannot be found then null is returned and throws is set to g_key_file_error_key_not_found. Likewise, if the values associated with key cannot be interpreted as doubles then null is returned and throws is set to g_key_file_error_invalid_value.

Parameters:

this

a KeyFile

group_name

a group name

key

a key

length

the number of doubles returned

Returns:

the values associated with the key as a list of doubles, or null if the key was not found or could not be parsed. The returned list of doubles should be freed with g_free when no longer needed.