Method

IpuzCellfind_clue

Declaration [src]

const IpuzClue*
ipuz_cell_find_clue (
  IpuzCell* cell,
  IpuzClueDirection preferred_direction
)

Description [src]

Returns a clue associated with cell. First tries the preferred_direction, then the direction orthogonal to that, and then any direction that is available. If cell as no associated clue, then NULL is returned.

Parameters

preferred_direction

Type: IpuzClueDirection

The preferred direction to find a clue.

Return value

Type: IpuzClue

A clue associated with cell, or NULL.

The returned data is owned by the instance.
The return value can be NULL.