Virtual Method

IpuzCluesget_guess_string_by_id

Declaration [src]

gchar*
get_guess_string_by_id (
  IpuzClues* clues,
  IpuzClueId* clue_id
)

Description [src]

Returns a string containing the guess in the puzzle for a given clue. This string will have ‘?’ characters embedded within it if there are cells not completely filled out.

Parameters

clue_id

Type: IpuzClueId

An IpuzClueId to get the guesses string for.

The data is owned by the caller of the function.

Return value

Type: gchar*

The guesses for the puzzle for clue_id. Returns NULL if clue_id points to an invalid clue.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.