X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop_t.h;h=bd9d073059d659672858c354b8ccef2bad8311f1;hb=288b414e4d82e0aa0d4b4348d8c387db02142cdb;hp=1a5eeadc8c91890b17219e7169e50affe9a83312;hpb=bb9f2e36362333c6635b89f5258171b06c786608;p=libfirm diff --git a/ir/tr/tpop_t.h b/ir/tr/tpop_t.h index 1a5eeadc8..bd9d07305 100644 --- a/ir/tr/tpop_t.h +++ b/ir/tr/tpop_t.h @@ -101,13 +101,12 @@ struct tp_op { * @param ops the tp_op operations for this type * @return A new type opcode. */ -tp_op *new_tpop (tp_opcode code, ident *name, unsigned flags, size_t attr_size, - const tp_op_ops *ops); +const tp_op *new_tpop (tp_opcode code, ident *name, unsigned flags, size_t attr_size, const tp_op_ops *ops); /** - * Free a tpop datastructure. + * Free a tpop data structure. */ -void free_tpop(tp_op *tpop); +void free_tpop(const tp_op *tpop); /** * Initialize the tpop module. @@ -118,7 +117,7 @@ void free_tpop(tp_op *tpop); * Allocates opcodes for classes, struct, method, union, array, * enumeration, pointer and primitive and sets the according values. */ -void init_tpop (void); +void init_tpop(void); /** * Finalize the tpop module.