]> git.sesse.net Git - stockfish/blobdiff - src/san.h
san.cpp pass position as constant reference
[stockfish] / src / san.h
index 8442ffacca3dfb021823e88a06d2ebfdd1ee77ba..8489769297d3a8d8599fb4aac8269dc0e4b58c62 100644 (file)
--- a/src/san.h
+++ b/src/san.h
 //// Prototypes
 ////
 
-extern const std::string move_to_san(Position &pos, Move m);
-extern Move move_from_san(Position &pos, const std::string &str);
-extern const std::string line_to_san(const Position &pos, Move line[],
-                                     int startColumn, bool breakLines);
-extern const std::string pretty_pv(const Position &pos, int time, int depth,
-                                   uint64_t nodes, Value score, Move pv[]);
-
+extern const std::string move_to_san(const Position& pos, Move m);
+extern Move move_from_san(const Position& pos, const std::string& str);
+extern const std::string line_to_san(const Position& pos, Move line[], int startColumn, bool breakLines);
+extern const std::string pretty_pv(const Position& pos, int time, int depth, uint64_t nodes, Value score, Move pv[]);
 
 #endif // !defined(SAN_H_INCLUDED)