X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftype_or_entity.h;h=54de00b8786eaabd10c78958ecad1d3ad2d2e7f9;hb=d2dc2564b47d9c113d7e6e598574e9733627fcca;hp=96566e515172b3458bacc95c9d845f251cb7d1eb;hpb=efbeaff549fcc6015da255ed4d453a95937ff0fd;p=libfirm diff --git a/ir/tr/type_or_entity.h b/ir/tr/type_or_entity.h index 96566e515..54de00b87 100644 --- a/ir/tr/type_or_entity.h +++ b/ir/tr/type_or_entity.h @@ -1,19 +1,32 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe +/* + * Project: libFIRM + * File name: ir/tr/type_or_entity.h + * Purpose: Provides a datatype to treat types and entities as the same. + * Author: Goetz Lindenmaier + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1999-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -** All rights reserved. -** -** Author: Goetz Lindenmaier -** -*/ - -/* A datatype to treat types and entities as the same. */ +/** + * @file type_or_entity.h + * + * Provides a datatype to treat types and entities as the same. + * + * @author Goetz Lindenmaier + */ # ifndef _TYPE_OR_ENTITY_H_ # define _TYPE_OR_ENTITY_H_ +#include "firm_types.h" + +/** A data type to treat types and entities as the same. */ typedef union { - type *typ; - entity *ent; + ir_type *typ; /**< points to a type */ + entity *ent; /**< points to an entity */ } type_or_ent;