mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
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:
2
grid.h
2
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 {
|
||||
|
Reference in New Issue
Block a user