X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypewalk.h;h=6b9262ac079a1174ae13390d837a84e5679684c9;hb=f3157bda5e3b46233ea4ec9abd8499a8e7bb83ff;hp=26b951bfe7ee737dfb3ce4d3086ec1b06f807ff4;hpb=df83e37827032795585d3b25776c465870672901;p=libfirm diff --git a/ir/tr/typewalk.h b/ir/tr/typewalk.h index 26b951bfe..6b9262ac0 100644 --- a/ir/tr/typewalk.h +++ b/ir/tr/typewalk.h @@ -22,6 +22,7 @@ typedef void (type_walk_func)(type_or_ent *, void *); +typedef void (class_walk_func)(type *, void *); /** Touches every type and entity in unspecified order. If new @@ -66,8 +67,8 @@ void type_walk_super(type_walk_func *pre, Does not visit global type, frame types. */ /* @@@ ?? something is wrong with this. */ -void class_walk_super2sub(type_walk_func *pre, - type_walk_func *post, +void class_walk_super2sub(class_walk_func *pre, + class_walk_func *post, void *env);