aboutsummaryrefslogtreecommitdiff
path: root/nullfe.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2018-11-13 21:34:42 +0000
committerSimon Tatham <anakin@pobox.com>2018-11-13 21:34:42 +0000
commita76d269cf222ba81e717c7e9046db391f19036eb (patch)
tree85533d16a00371ad527e532021e0ef3ed05e5e84 /nullfe.c
parent0f77798ae24d2152c5393f01e55e0168c564ee0d (diff)
downloadpuzzles-a76d269cf222ba81e717c7e9046db391f19036eb.zip
puzzles-a76d269cf222ba81e717c7e9046db391f19036eb.tar.gz
puzzles-a76d269cf222ba81e717c7e9046db391f19036eb.tar.bz2
puzzles-a76d269cf222ba81e717c7e9046db391f19036eb.tar.xz
Adopt C99 bool in the game backend API.
encode_params, validate_params and new_desc now take a bool parameter; fetch_preset, can_format_as_text_now and timing_state all return bool; and the data fields is_timed, wants_statusbar and can_* are all bool. All of those were previously typed as int, but semantically boolean. This commit changes the API declarations in puzzles.h, updates all the games to match (including the unfinisheds), and updates the developer docs as well.
Diffstat (limited to 'nullfe.c')
0 files changed, 0 insertions, 0 deletions