Method

GLibVariantget_uint16

since: 2.24

Declaration

guint16
g_variant_get_uint16 (
  GVariant* value
)

Description

Returns the 16-bit unsigned integer value of value.

It is an error to call this function with a value of any type other than G_VARIANT_TYPE_UINT16.

Available since: 2.24

Return value

Type: guint16

A #guint16