X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=pgn.h;h=0f5101591cedd3f9937b77b300558f22053a7861;hp=e79fc3f3a895aa9e09fda8c8517ed314334c3127;hb=e15efca6667b2673b4c1a5879a6917eab6800e58;hpb=0d182b4efac85dce968068bfe4509e52e9a30051 diff --git a/pgn.h b/pgn.h index e79fc3f..0f51015 100644 --- a/pgn.h +++ b/pgn.h @@ -6,17 +6,17 @@ // includes -#include +#include #include "util.h" -// constants +// defines -const int PGN_STRING_SIZE = 256; +#define PGN_STRING_SIZE 256 // types -struct pgn_t { +typedef struct { FILE * file; @@ -40,7 +40,7 @@ struct pgn_t { int move_line; int move_column; int game_nb; -}; +} pgn_t; // functions