src/chess/pgn.h

changeset 60
0c50aac49e55
parent 59
3fa1de896666
equal deleted inserted replaced
59:3fa1de896666 60:0c50aac49e55
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 const char* pgn_error_str(int code);
46
45 #ifdef __cplusplus 47 #ifdef __cplusplus
46 } 48 }
47 #endif 49 #endif
48 50
49 #endif /* PGN_H */ 51 #endif /* PGN_H */

mercurial