X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftype_or_entity.h;h=54de00b8786eaabd10c78958ecad1d3ad2d2e7f9;hb=3082a470a6c3b42c7b531fb6492efcd14567be0a;hp=4d3fc762fd379a125791a479d49386b708949f05;hpb=16eb5aad86dbc0ff0d4bf0c59bd2ad15109b29ff;p=libfirm diff --git a/ir/tr/type_or_entity.h b/ir/tr/type_or_entity.h index 4d3fc762f..54de00b87 100644 --- a/ir/tr/type_or_entity.h +++ b/ir/tr/type_or_entity.h @@ -1,6 +1,14 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * 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. + */ /** * @file type_or_entity.h @@ -10,16 +18,15 @@ * @author Goetz Lindenmaier */ -/* $Id$ */ - - # ifndef _TYPE_OR_ENTITY_H_ # define _TYPE_OR_ENTITY_H_ -/** A datatype to treat types and entities as the same. */ +#include "firm_types.h" + +/** A data type to treat types and entities as the same. */ typedef union { - struct type *typ; /**< points to a type */ - struct entity *ent; /**< points to an entity */ + ir_type *typ; /**< points to a type */ + entity *ent; /**< points to an entity */ } type_or_ent;