get_double


Description:

public bool get_double (string fieldname, out double value)

Sets the double pointed to by value corresponding to the value of the given field.

Caller is responsible for making sure the field exists and has the correct type.

Parameters:

this

a Structure

fieldname

the name of a field

value

a pointer to a gdouble to set

Returns:

true if the value could be set correctly. If there was no field with fieldname or the existing field did not contain a double, this function returns false.




2022 vala-language.org