]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Better naming of pseudo-legality and legality testing
[stockfish] / src / position.h
index f77b368abb0cebf74dc7373d9cee8ae55a38d523..8765aac049a9e75520fab73719f43ddbb4c80dd5 100644 (file)
@@ -217,8 +217,8 @@ public:
   bool piece_attacks_square(Square f, Square t) const; // Dispatch at run-time
 
   // Properties of moves
-  bool move_is_legal(Move m) const;
-  bool move_is_legal(Move m, Bitboard pinned) const;
+  bool pl_move_is_legal(Move m) const;
+  bool pl_move_is_legal(Move m, Bitboard pinned) const;
   bool move_is_check(Move m) const;
   bool move_is_check(Move m, Bitboard dcCandidates) const;
   bool move_is_capture(Move m) const;