src/chess/pgn.h

changeset 59
3fa1de896666
parent 55
54ea19938d57
child 60
0c50aac49e55
equal deleted inserted replaced
58:7ba8a97a8b6e 59:3fa1de896666
35 #include <stdio.h> 35 #include <stdio.h>
36 36
37 #ifdef __cplusplus 37 #ifdef __cplusplus
38 extern "C" { 38 extern "C" {
39 #endif 39 #endif
40 40
41 int read_pgn(FILE *stream, GameState *gamestate, GameInfo *gameinfo); 41 int read_pgn(FILE *stream, GameState *gamestate, GameInfo *gameinfo);
42 size_t write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo); 42 size_t write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo);
43 void compute_fen(char *str, GameState *gamestate); 43 void compute_fen(char *str, GameState *gamestate);
44 44
45 #ifdef __cplusplus 45 #ifdef __cplusplus

mercurial