Method

GLibVariantget_int16

since: 2.24

Declaration

gint16
g_variant_get_int16 (
  GVariant* value
)

Description

Returns the 16-bit signed integer value of value.

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

Available since: 2.24

Return value

Type: gint16

A #gint16