Constructor

PurpleHistorynew

unstable since: 3.0

Declaration [src]

PurpleHistory*
purple_history_new (
  PurpleConversation* conversation
)

Description [src]

Creates a new instance.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation.

The data is owned by the caller of the function.

Return value

Type: PurpleHistory

The new instance.

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