Virtual Method

IpuzCluesfind_clue_by_label

Declaration [src]

IpuzClue*
find_clue_by_label (
  IpuzClues* clues,
  IpuzClueDirection direction,
  const char* label
)

Description [src]

Searches for and returns the clue with direction and label.

Parameters

direction

Type: IpuzClueDirection

The direction to search.

label

Type: const char*

The label to look for.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: IpuzClue

The clue with direction and label, or NULL.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.