### Method

# Devhelp Book cmp_by_title

#### Declaration [src]

    gint
    dh_book_cmp_by_title (
      DhBook* a,
      DhBook* b
    )

#### Description [src]

Compares the `DhBook`‘s by their title.

#### Parameters

`b`

  Type: `DhBook`

  A `DhBook`.

  The data is owned by the caller of the method.

#### Return value

Type: `gint`

An integer less than, equal to, or greater than zero, if `a` is <, == or > than `b`.