Method

PurpleMessagecompare_timestamp

unstable since: 3.0

Declaration [src]

int
purple_message_compare_timestamp (
  PurpleMessage* message1,
  PurpleMessage* message2
)

Description [src]

Compare two PurpleMessage objects.

Available since: 3.0

Parameters

message2

Type: PurpleMessage

The second instance.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: int

-1, 0 or 1 if the timestamp of message1 is less than, equal to or greater than the timestamp of message2.