]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Do not special case generate_king_moves()
[stockfish] / src / position.h
index 25596bf6a2add681047ef5085006cb3640782dff..5285c8f928afb0df26f1c50667e4131bad68eaa3 100644 (file)
@@ -370,6 +370,10 @@ private:
 };
 
 
+/// An array of member functions to dispatch attacks_square
+typedef Bitboard (Position::* Piece_attacks_fn)(Square s) const;
+extern const Piece_attacks_fn piece_attacks_fn[];
+
 ////
 //// Inline functions
 ////