Method

GObjectValueinit

Declaration

GValue*
g_value_init (
  GValue* value,
  GType g_type
)

Description

Initializes value with the default value of type.

Parameters

g_type GType
 

Type the GValue should hold values of.

Return value

Returns: GValue
 

The GValue structure that has been passed in.

 The data is owned by the instance.