aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2018-11-13 21:43:11 +0000
committerSimon Tatham <anakin@pobox.com>2018-11-13 21:48:24 +0000
commit064da876828ea3079d5d7be5849b693f4d55364b (patch)
treea165cf405b8c9b183d6e21c4372d0e56b5a9746f /grid.h
parent08915945e64d2d3dfea7ec426228f814a6e65adf (diff)
downloadpuzzles-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.h b/grid.h
index 26d0b16..7ca3ff1 100644
--- a/grid.h
+++ b/grid.h
@@ -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 {