Function

GLibVariantnew_byte

Declaration

GVariant*
g_variant_new_byte (
  guint8 value
)

Description

Creates a new byte GVariant instance.

Available since:2.24

Parameters

value guint8
 

A #guint8 value.

Return value

Returns: GVariant
 

A floating reference to a new byte GVariant instance.

 The data is owned by the called function.