diff options
| author | Simon Tatham <anakin@pobox.com> | 2018-11-13 21:43:11 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-11-13 21:48:24 +0000 |
| commit | 064da876828ea3079d5d7be5849b693f4d55364b (patch) | |
| tree | a165cf405b8c9b183d6e21c4372d0e56b5a9746f /grid.h | |
| parent | 08915945e64d2d3dfea7ec426228f814a6e65adf (diff) | |
| download | puzzles-064da876828ea3079d5d7be5849b693f4d55364b.zip puzzles-064da876828ea3079d5d7be5849b693f4d55364b.tar.gz puzzles-064da876828ea3079d5d7be5849b693f4d55364b.tar.bz2 puzzles-064da876828ea3079d5d7be5849b693f4d55364b.tar.xz | |
Adopt C99 bool in the grid.c API.
More or less trivially: the only affected declaration is the
has_incentre flag in struct grid_face.
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ struct grid_face { * grid_find_incentre() on a face, and it will fill in ix,iy below * and set has_incentre to indicate that it's done so. */ - int has_incentre; + bool has_incentre; int ix, iy; /* incentre (centre of largest inscribed circle) */ }; struct grid_edge { |