chiark / gitweb /
Adopt C99 bool in the midend API.
authorSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2018 21:37:09 +0000 (21:37 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2018 21:46:39 +0000 (21:46 +0000)
commitcd6cadbecf245b2916350939343db14e2978f782
treea2d7a73fc88c944b14e45cff4190e8a2767089fe
parenta76d269cf222ba81e717c7e9046db391f19036eb
Adopt C99 bool in the midend API.

This changes parameters of midend_size and midend_print_puzzle, the
return types of midend_process_key, midend_wants_statusbar,
midend_can_format_as_text_now and midend_can_{undo,redo}, the 'bval'
field in struct config_item, and finally the return type of the
function pointer passed to midend_deserialise and identify_game.

The last of those changes requires a corresponding fix in clients of
midend_deserialise and identify_game, so in this commit I've also
updated all the in-tree front ends to match. I expect downstream front
ends will need to do the same when they merge this change.
devel.but
emcc.c
gtk.c
midend.c
osx.m
puzzles.h
windows.c