X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop.h;h=3166a963fe3abe513dde2ac0cf650d33c653c2cb;hb=ec68b2aaadb9504d101e6cbc4a58c69f3897f489;hp=de2d2bfe0aa1f861e5426fdaf47ac6bee4640456;hpb=21cd22b177b3844bc786f3bfbb4bcbe816ec371d;p=libfirm diff --git a/ir/tr/tpop.h b/ir/tr/tpop.h index de2d2bfe0..3166a963f 100644 --- a/ir/tr/tpop.h +++ b/ir/tr/tpop.h @@ -64,7 +64,7 @@ typedef struct tp_op tp_op; * @param op The type opcode to get the string from. * @return a string. (@todo Null terminated???) */ -const char *get_tpop_name (tp_op *op); +const char *get_tpop_name (const tp_op *op); /** * Returns an enum for the type opcode. @@ -72,7 +72,7 @@ const char *get_tpop_name (tp_op *op); * @param op The type opcode to get the enum from. * @return the enum. */ -tp_opcode get_tpop_code (tp_op *op); +tp_opcode get_tpop_code (const tp_op *op); /** * Returns the ident for the type opcode. @@ -80,7 +80,7 @@ tp_opcode get_tpop_code (tp_op *op); * @param op The type opcode to get the ident from. * @return The ident. */ -ident *get_tpop_ident (tp_op *op); +ident *get_tpop_ident (const tp_op *op); /** * This type opcode marks that the corresponding type is a class type. @@ -141,7 +141,7 @@ tp_op *get_tpop_array(void); * This type opcode marks that the corresponding type is an enumeration type. * * Consequently it contains a list of idents for the enumeration identifiers - * and a list of tarbet values that are the constants used to implement + * and a list of target values that are the constants used to implement * the enumerators. * This struct is dynamically allocated but constant for the lifetime * of the library.