Constructor

PurpleSavedPresencenew

unstable since: 3.0

Declaration [src]

PurpleSavedPresence*
purple_saved_presence_new (
  PurplePresencePrimitive primitive
)

Description [src]

Creates a new instance with the given primitive.

Available since: 3.0

Parameters

primitive

Type: PurplePresencePrimitive

The primitive to use.

Return value

Type: PurpleSavedPresence

The new instance.

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