Method

IpuzGridcreate_guesses

Declaration [src]

IpuzGuesses*
ipuz_grid_create_guesses (
  IpuzGrid* self
)

Description [src]

Creates a fresh IpuzGuesses. It will be initialized to the current state of the grid.

The guessses can be used to solve the puzzle, and as such, its format is puzzle-type dependent. See each puzzle’s Guesses section for more information on the format.

Note that this method won’t change the internal guesses of self. If that is desired, you should pair this with ipuz_grid_set_guesses().

Return value

Type: IpuzGuesses

A new IpuzGuesses matching self.

The caller of the method takes ownership of the data, and is responsible for freeing it.