X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=5285c8f928afb0df26f1c50667e4131bad68eaa3;hp=25596bf6a2add681047ef5085006cb3640782dff;hb=146bb2dfa730841d8c00c162076423437af1377d;hpb=644db060aea9512830b8573c180296390a35927a diff --git a/src/position.h b/src/position.h index 25596bf6..5285c8f9 100644 --- a/src/position.h +++ b/src/position.h @@ -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 ////