Function

RBRhythmDBQueryModeldate_sort_func

Declaration [src]

gint
rhythmdb_query_model_date_sort_func (
  RhythmDBEntry* a,
  RhythmDBEntry* b,
  gpointer data
)

Description [src]

Sort function for sorting by release date. Falls back to album sort order for equal dates.

Parameters

a

Type: RhythmDBEntry

A RhythmDBEntry.

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

Type: RhythmDBEntry

A RhythmDBEntry.

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

Type: gpointer

Nothing.

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

Return value

Type: gint

Result of sort comparison between a and b.