From: Michael Beck Date: Tue, 27 Dec 2005 16:33:35 +0000 (+0000) Subject: the type 'type' is now called ir_type X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=bf13a5838c3ceed941af10b4950646074e21e1fa;p=libfirm the type 'type' is now called ir_type The old 'type' still exists, but is deprecated from now and will be removed in the next releases. [r7149] --- diff --git a/ir/common/firm_types.h b/ir/common/firm_types.h index 94d7647c7..5feaf6b25 100644 --- a/ir/common/firm_types.h +++ b/ir/common/firm_types.h @@ -43,7 +43,12 @@ typedef struct tarval tarval; #ifndef _TYPE_TYPEDEF_ #define _TYPE_TYPEDEF_ -typedef struct type type; +typedef struct ir_type type; +#endif + +#ifndef _IR_TYPE_TYPEDEF_ +#define _IR_TYPE_TYPEDEF_ +typedef struct ir_type ir_type; #endif #ifndef _IR_GRAPH_TYPEDEF_ diff --git a/ir/tr/type.h b/ir/tr/type.h index eefe552d6..98989dd75 100644 --- a/ir/tr/type.h +++ b/ir/tr/type.h @@ -105,7 +105,7 @@ */ #ifndef _TYPE_TYPEDEF_ #define _TYPE_TYPEDEF_ -typedef struct type type; +typedef struct ir_type type; #endif # include "type_or_entity.h" @@ -814,7 +814,7 @@ typedef enum { cc_this_call = 0x08000000, /**< The first parameter is a this pointer and is transmitted in a special way. */ - /* some ofter used cases */ + /* some often used cases */ cc_cdecl_set = 0, /**< cdecl calling convention */ cc_stdcall_set = cc_callee_clear_stk, /**< stdcall calling convention */ cc_fastcall_set = cc_reg_param|cc_callee_clear_stk, /**< fastcall calling convention */