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.
This commit is contained in:
Simon Tatham
2018-11-13 21:43:11 +00:00
parent 08915945e6
commit 064da87682

2
grid.h
View File

@ -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 {