X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=1940c1b52cdf5b8b0c936092ea6ec784def576ae;hp=b2c876455c7c0c4afcbacdd9d75a43b8bd1c5911;hb=b3108547deafc054e73965c954ed70aa909f6f06;hpb=b01e5fc612b401c83580cc6c1ecd0c62c9592179 diff --git a/src/search.h b/src/search.h index b2c87645..1940c1b5 100644 --- a/src/search.h +++ b/src/search.h @@ -66,11 +66,12 @@ struct SearchStack { //// //// Prototypes //// +class Position; extern void init_search(); extern void init_threads(); extern void exit_threads(); -extern int perft(Position& pos, Depth depth); +extern int64_t perft(Position& pos, Depth depth); extern bool think(Position& pos, bool infinite, bool ponder, int time[], int increment[], int movesToGo, int maxDepth, int maxNodes, int maxTime, Move searchMoves[]);