X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Ffirmwalk.h;h=6fce4eb74f39108624a21885c878897ab21a59af;hb=002120b9325bd7e1da3ebb9dd258350011ad863c;hp=b92ad09773ac65a8062ad83fe3ed9e03586db75a;hpb=b92e076dde8ccf698aa8886d4749a5e0d5d3821f;p=libfirm diff --git a/ir/common/firmwalk.h b/ir/common/firmwalk.h index b92ad0977..6fce4eb74 100644 --- a/ir/common/firmwalk.h +++ b/ir/common/firmwalk.h @@ -32,9 +32,7 @@ #ifndef _FIRM_WALK_H_ #define _FIRM_WALK_H_ -#include "type.h" -#include "irgraph.h" -#include "typewalk.h" +#include "firm_types.h" #ifdef __cplusplus extern "C" { @@ -64,7 +62,7 @@ void *get_firm_walk_link(void *thing); * to a firm structure. The real link field of firm structure is used * by this firm walker to collect walking data. * - * @param thing firm structur + * @param thing firm structure * @param link Pointer to link field * * @note After calling firm_walk_finalize() the stored link @@ -79,7 +77,7 @@ typedef void firm_walk_finalize_func(void *env); /** Mode callback function definition */ typedef void firm_walk_mode_func(ir_mode *mode, void *env); /** Type callback function definition */ -typedef void firm_walk_type_func(type *tp, void *env); +typedef void firm_walk_type_func(ir_type *tp, void *env); /** Entity callback function definition */ typedef void firm_walk_entity_func(entity *ent, void *env); /** Graph callback function definition */ @@ -128,7 +126,7 @@ typedef struct /* @{ */ /** Interface to dump all collected types. * - * @node To dump all (not only used types by default) a special walk + * @note To dump all (not only used types by default) a special walk * flag must be set for the walker initializer */ firm_walk_init_func *do_type_init; firm_walk_type_func *do_type;