Function

IpuzCluesForeachClueFunc

Declaration

void
(* IpuzCluesForeachClueFunc) (
  IpuzClues* clues,
  IpuzClueDirection direction,
  IpuzClue* clue,
  IpuzClueId* clue_id,
  gpointer user_data
)

Description [src]

The function to be passed to ipuz_clues_foreach_clue().

You should not change the number of clues in xword from within this function. It is safe to change properties of clue.

Parameters

clues

Type: IpuzClues

The iterated IpuzClues

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

Type: IpuzClueDirection

The direction of clue.

clue

Type: IpuzClue

The next clue in xword.

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

Type: IpuzClueId

The IpuzClueId of clue.

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

Type: gpointer

Data passed to the function.

The argument can be NULL.
The data is owned by the caller of the function.