From ff37bdc99ee2d1b07cd9423a4d4257dc523ff09c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 2 Oct 2009 13:19:05 +0200 Subject: [PATCH] board_is_false_eyelike(): Declare in board.h --- board.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board.h b/board.h index 44a6699..ca29989 100644 --- a/board.h +++ b/board.h @@ -202,6 +202,9 @@ void board_symmetry_update(struct board *b, struct board_symmetry *symmetry, coo /* Returns true if given coordinate has all neighbors of given color or the edge. */ static bool board_is_eyelike(struct board *board, coord_t *coord, enum stone eye_color); +/* Returns true if given coordinate could be a false eye; this check makes + * sense only if you already know the coordinate is_eyelike(). */ +bool board_is_false_eyelike(struct board *board, coord_t *coord, enum stone eye_color); /* Returns true if given coordinate is a 1-pt eye (checks against false eyes, or * at least tries to). */ bool board_is_one_point_eye(struct board *board, coord_t *c, enum stone eye_color); -- 2.11.4.GIT