Function

Purplevalue_new

since: 2.0

Declaration [src]

GValue*
purple_value_new (
  GType type
)

Description [src]

Creates a new GValue of the specified type.

Available since: 2.0

Parameters

type

Type: GType

The type of data to be held by the GValue.

Return value

Type: GValue

The created GValue.

The caller of the function takes ownership of the data, and is responsible for freeing it.