X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Ffirmwalk.h;h=6fce4eb74f39108624a21885c878897ab21a59af;hb=002120b9325bd7e1da3ebb9dd258350011ad863c;hp=cfab51f07fba1d56e5b22c5df286bd0c6d9afcaf;hpb=ee1890dea4f8d9627c0f761ded67bbc93e332b85;p=libfirm diff --git a/ir/common/firmwalk.h b/ir/common/firmwalk.h index cfab51f07..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" { @@ -50,7 +48,7 @@ extern "C" { * by this firm walker to collect walking data. * * @param thing Pointer to a firm structure - * @retrun Link pointer + * @return Link pointer * * @note After calling firm_walk_finalize() the stored link * information may be invalid. */ @@ -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;