X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fexternal%2Fread_t.h;h=c5193a92cd80860ac8075e5c737eb3310e0dac46;hb=9efd67537ac1e6ff6c7dec9f45c95c2cec8b80b0;hp=512806902eb3bc22ef9295bfd208a2d5656ac9fb;hpb=a8cf75368984e2d6832586a61be9dc18ea4e068d;p=libfirm diff --git a/ir/external/read_t.h b/ir/external/read_t.h index 512806902..c5193a92c 100644 --- a/ir/external/read_t.h +++ b/ir/external/read_t.h @@ -14,27 +14,7 @@ #ifndef _READ_T_H_ #define _READ_T_H_ -#include -#include -#include - -#include -#include -#include - -#include "type.h" -#include "entity.h" -#include "ident.h" - -# define MY_ENCODING "ISO-8859-1" - -# define CHECK(ptr,msg) assert (ptr && msg) - -# define NODE_NAME(n, m) (0 == xmlStrcmp (n->name, (const xmlChar*) #m)) -# define CHECK_NAME(n, m) assert (0 == xmlStrcmp (n->name, (const xmlChar*) #m)) - -# define NEW(T) (T*) malloc (sizeof (T)) - +#include "firm_types.h" /* first, the xml structures */ @@ -42,7 +22,7 @@ typedef struct type_str { const ident *type_ident; const ident *id; /* id for references */ - type *f_tp; /* firm type */ + ir_type *f_tp; /* firm type */ struct type_str *prev; } type_t; @@ -183,6 +163,13 @@ typedef struct mod_str /* $Log$ + Revision 1.3 2006/06/09 11:26:35 firm + renamed type to ir_type + + Revision 1.2 2004/12/10 15:14:16 beck + Removed unused header files + move xml macros to read.c, freeing the header from libxml depency + Revision 1.1 2004/10/25 13:52:24 boesler seperated read.h (public interface) and read_t.h (types)