X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fgengtype.h;h=136ab61fe75ed1a269df787fcd77ea7460829402;hb=16bd2f3cbfa8c8526eeb3ed89b2f880fee4a9553;hp=2046e40d6e976d798022259903729ff6483f3bd9;hpb=8be1803e426ba58979f77f8b8978a23d315a60b6;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/gengtype.h b/gcc/gengtype.h index 2046e40d6e9..136ab61fe75 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -374,6 +374,13 @@ extern size_t srcdir_len; extern const char *read_state_filename; /* (-r) program argument. */ extern const char *write_state_filename; /* (-w) program argument. */ +/* Functions reading and writing the entire gengtype state, called from + main, and implemented in file gengtype-state.c. */ +void read_state (const char* path); +/* Write the state, and update the state_number field in types. */ +void write_state (const char* path); + + /* Print an error message. */ extern void error_at_line (const struct fileloc *pos, const char *msg, ...) ATTRIBUTE_PRINTF_2;