Virtual Method

IpuzCluesfind_clue_by_coord

Declaration [src]

IpuzClue*
find_clue_by_coord (
  IpuzClues* clues,
  IpuzClueDirection direction,
  const IpuzCellCoord* coord
)

Description [src]

Searches for and returns the first clue with direction that contains coord.

[ RETHINK THIS FUNCTION. CANT WE GET IT FROM THE CELL?].

Parameters

direction

Type: IpuzClueDirection

The direction to search.

coord

Type: IpuzCellCoord

The coord to look for.

The data is owned by the caller of the method.

Return value

Type: IpuzClue

The clue with direction containing coord, or NULL.

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