]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Add Stockfish namespace.
[stockfish] / src / search.h
index 3bf3e9ae605727fc9235812782c884e25d259d6c..6f9fbd0527702516daf0c39ee30224b57a87d295 100644 (file)
@@ -25,6 +25,8 @@
 #include "movepick.h"
 #include "types.h"
 
+namespace Stockfish {
+
 class Position;
 
 namespace Search {
@@ -47,6 +49,7 @@ struct Stack {
   Value staticEval;
   int statScore;
   int moveCount;
+  int distanceFromPv;
   bool inCheck;
   bool ttPv;
   bool ttHit;
@@ -106,4 +109,6 @@ void clear();
 
 } // namespace Search
 
+} // namespace Stockfish
+
 #endif // #ifndef SEARCH_H_INCLUDED