src/chess/pgn.h

changeset 117
ee539a9691f0
parent 102
463c648e6a9b
equal deleted inserted replaced
116:4bf18d42e7ee 117:ee539a9691f0
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 void write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo); 42 void write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo,
43 bool export_comments);
43 void compute_fen(char *str, GameState *gamestate); 44 void compute_fen(char *str, GameState *gamestate);
44 45
45 const char* pgn_error_str(int code); 46 const char* pgn_error_str(int code);
46 47
47 #ifdef __cplusplus 48 #ifdef __cplusplus

mercurial