Function

IpuzGuessesnew_from_board

Declaration [src]

IpuzGuesses*
ipuz_guesses_new_from_board (
  IpuzBoard* board,
  gboolean copy_guesses
)

Description [src]

Creates a new IpuzGuesses object modeled after board. If copy_guesses is TRUE then any initial saved guesses are copied into the new IpuzGuesses

Returns (transfer full): a IpuzGuesses.

Parameters

board

Type: IpuzBoard

A IpuzBoard to use as the model.

The data is owned by the caller of the function.
copy_guesses

Type: gboolean

Whether to prepopulate the guesses from board.

Return value

Type: IpuzGuesses

No description available.

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