Method

SpielVoicecompare

since: 1.0

Declaration [src]

gint
spiel_voice_compare (
  SpielVoice* self,
  SpielVoice* other,
  gpointer user_data
)

Description [src]

Compares the two SpielVoice values and returns a negative integer if the first value comes before the second, 0 if they are equal, or a positive integer if the first value comes after the second.

Available since: 1.0

Parameters

other

Type: SpielVoice

A SpielVoice to compare with self.

The data is owned by the caller of the function.
user_data

Type: gpointer

User-defined callback data.

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

Return value

Type: gint

An integer indicating order.