src/chess/king.h

changeset 163
2a6d83f4677e
parent 80
b980a7192b5a
equal deleted inserted replaced
162:f0fc70b6f8f9 163:2a6d83f4677e
35 35
36 #ifdef __cplusplus 36 #ifdef __cplusplus
37 extern "C" { 37 extern "C" {
38 #endif 38 #endif
39 39
40 bool king_chkrules(GameState *gamestate, Move *move); 40 bool king_chkrules(const GameState *gamestate, const Move *move);
41 bool king_isblocked(GameState *gamestate, Move *move); 41 bool king_isblocked(const GameState *gamestate, const Move *move);
42 42
43 #ifdef __cplusplus 43 #ifdef __cplusplus
44 } 44 }
45 #endif 45 #endif
46 46

mercurial