Method
IpuzClueget_coords
Declaration [src]
IpuzCellCoordArray*
ipuz_clue_get_coords (
IpuzClue* clue
)
Description [src]
Returns the raw coords that clue
represents, in order.
This method is less convenient than ipuz_clue_get_n_coords()
and ipuz_clue_get_coord()
. You probably want to use those
methods instead.
Note
This returns the internal IpuzCellCoordArray
even if
there aren’t any cells associated with clue
. In that case, the
length of the returned array will be 0.
Warning
It is possible to modify the returned array. If the caller does that, care must be taken to keep consistency with the rest of the puzzle.
Return value
Type: IpuzCellCoordArray
The raw
IpuzCellCoordArray
of the coords for clue
.
The data is owned by the instance. |