libs/chessx-pgn/guess/common.h
// square_Color:
//   Return WHITE for a light square, BLACK for a dark square.

Return WHITE for a light square, BLACK for a dark square.
Return WHITE for a light square BLACK for a dark square .
inline colorT
square_Color(squareT sq)
{
    return 1 - (square_LeftDiag(sq) & 1);
}
inline colorT square_Color ( squareT sq ) { return 1 - ( square_LeftDiag ( sq ) & 1 ) ; }
square_Color:
Return WHITE for a light square, BLACK for a dark square.
square_Color : Return WHITE for a light square BLACK for a dark square .