Function

GLibVariantnew_double

Declaration

GVariant*
g_variant_new_double (
  gdouble value
)

Description

Creates a new double GVariant instance.

Available since:2.24

Parameters

value gdouble
 

A #gdouble floating point value.

Return value

Returns: GVariant
 

A floating reference to a new double GVariant instance.

 The data is owned by the called function.