X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftype_or_entity.h;h=4d3fc762fd379a125791a479d49386b708949f05;hb=823a3abad1ab22cc4db2073410bf8f0e200441bc;hp=94efc7b2132e85a9e765b478b1f4c71df1ac0ec4;hpb=e3e22fa6f927847099c0bff62457003aa81f2518;p=libfirm diff --git a/ir/tr/type_or_entity.h b/ir/tr/type_or_entity.h index 94efc7b21..4d3fc762f 100644 --- a/ir/tr/type_or_entity.h +++ b/ir/tr/type_or_entity.h @@ -1,21 +1,25 @@ /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe - -** All rights reserved. -** -** Author: Goetz Lindenmaier -** +* All rights reserved. */ +/** + * @file type_or_entity.h + * + * Provides a datatype to treat types and entities as the same. + * + * @author Goetz Lindenmaier + */ + /* $Id$ */ -/* A datatype to treat types and entities as the same. */ # ifndef _TYPE_OR_ENTITY_H_ # define _TYPE_OR_ENTITY_H_ +/** A datatype to treat types and entities as the same. */ typedef union { - type *typ; - entity *ent; + struct type *typ; /**< points to a type */ + struct entity *ent; /**< points to an entity */ } type_or_ent;