Method
IpuzCluesfind_clue_by_number
Declaration [src]
IpuzClue*
ipuz_clues_find_clue_by_number (
IpuzClues* clues,
IpuzClueDirection direction,
gint number
)
Description [src]
Searches for and returns the clue with direction and number.
This is different from the IpuzClueId which uses the
index to refer to a clue. As an example the clue 2dn could be
have a clue id with an index of 0.
Parameters
direction-
Type:
IpuzClueDirectionThe direction to search.
number-
Type:
gintThe number to look for.
Return value
Type: IpuzClue
The clue with direction and number, or NULL.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL. |