-/**
- Touches every type and entity in unspecified order. If new
- types/entities are created during the traversal these will
- be visited, too. **/
-void type_walk(type_walk_func *pre,
- type_walk_func *post,
- void *env);
-
-/** walks over all type information reachable from irg **/
+/** The class walk function
+ *
+ * @param clss points to the visited class
+ * @param env free environment pointer
+ */
+typedef void class_walk_func(type *clss, void *env);
+
+/** Touches every type and entity in unspecified order. If new
+ * types/entities are created during the traversal these will
+ * be visited, too.
+ * Does not touch frame types or types for value params ... */
+void type_walk(type_walk_func *pre, type_walk_func *post, void *env);
+
+/** Walks over all type information reachable from an ir graph.
+ *
+ * Walks over all type information reachable from irg, i.e., starts a
+ * type walk at the irgs entity, the irgs frame type and all types and
+ * entities that are attributes to firm nodes. */