src/chess/pawn.h

changeset 163
2a6d83f4677e
parent 80
b980a7192b5a
--- 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
 }

mercurial