X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fexternal%2Fread.h;h=8481fd3d3f33d30834f00a7ffbb2b4f5f5bc9fd7;hb=5984af6afdad92c8501b3a21c73727b3a207fb75;hp=c7079094c6786ab1796a736145a1e732c3a4cf47;hpb=a8cf75368984e2d6832586a61be9dc18ea4e068d;p=libfirm diff --git a/ir/external/read.h b/ir/external/read.h index c7079094c..8481fd3d3 100644 --- a/ir/external/read.h +++ b/ir/external/read.h @@ -17,14 +17,28 @@ /* The public interface */ -/** read the file and build the graphs */ -void create_abstraction(const char *filename); +/** + * read the file and build the graphs + * + * @return 0 on I/O error, non-zero else + */ +int create_abstraction(const char *filename); + +void free_abstraction(void); #endif /* defined _READ_H_ */ /* $Log$ + Revision 1.9 2005/08/16 10:18:35 beck + create_abstraction() now returns an error code if the file could not + be opened. + + Revision 1.8 2004/11/11 09:28:32 goetz + treat pseudo irgs special + parse 'local' from xml files + Revision 1.7 2004/10/25 13:52:24 boesler seperated read.h (public interface) and read_t.h (types)