--- a/src/chess/pawn.h Thu Jul 30 18:34:15 2026 +0200 +++ b/src/chess/pawn.h Thu Jul 30 19:17:38 2026 +0200 @@ -36,8 +36,8 @@ extern "C" { #endif -bool pawn_chkrules(GameState *gamestate, Move *move); -bool pawn_isblocked(GameState *gamestate, Move *move); +bool pawn_chkrules(const GameState *gamestate, const Move *move); +bool pawn_isblocked(const GameState *gamestate, const Move *move); #ifdef __cplusplus }