Function

IpuzArrowwordForeachBlocksFunc

Declaration

void
(* IpuzArrowwordForeachBlocksFunc) (
  IpuzArrowword* arrowword,
  IpuzCellCoord* block_coord,
  IpuzClue* clue,
  IpuzArrowwordPlacement placement,
  IpuzArrowwordArrow arrow,
  gpointer user_data
)

Description [src]

The function to be passed to ipuz_arrowword_foreach_blocks().

This function will iterate through every block with a clue within it in arrowword. If the block has multiple clues, then func will be called twice, once for each clue.

Parameters

arrowword

Type: IpuzArrowword

The iterated IpuzArrowword.

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

Type: IpuzCellCoord

The IpuzCellCoord of the next block in arrowword.

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

Type: IpuzClue

An IpuzClue within the block.

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

Type: IpuzArrowwordPlacement

The placement position of clue within the block.

arrow

Type: IpuzArrowwordArrow

The direction of the hint arrow for clue.

user_data

Type: gpointer

Data passed to the function.

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