Function

GLibVariantnew_int32

Declaration

GVariant*
g_variant_new_int32 (
  gint32 value
)

Description

Creates a new int32 GVariant instance.

Available since:2.24

Parameters

value gint32
 

A #gint32 value.

Return value

Returns: GVariant
 

A floating reference to a new int32 GVariant instance.

 The data is owned by the called function.