Method

IpuzAcrosticfix_source

Declaration [src]

void
ipuz_acrostic_fix_source (
  IpuzAcrostic* self,
  IpuzAcrosticSyncDirection sync_direction
)

Description [src]

Makes sure that clues and source string are in sync.

This will either generate a new source string based on the answers in the clues, or generate the right number of clues based on the sync_direction.

When syncing from string to puzzle, only characters that exist in IpuzPuzzle:charset are considered.

Warning

When syncing from puzzle to string, no punctuation or spacing can be implied from the clues. If there’s already a human readable string that exists, it will be overwritten with a much less legible one.

Parameters

sync_direction

Type: IpuzAcrosticSyncDirection

Direction to sync the source.