3 * File name: ir/tr/type_or_entity.h
4 * Purpose: Provides a datatype to treat types and entities as the same.
5 * Author: Goetz Lindenmaier
9 * Copyright: (c) 1999-2003 Universität Karlsruhe
10 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
14 * @file type_or_entity.h
16 * Provides a datatype to treat types and entities as the same.
18 * @author Goetz Lindenmaier
21 # ifndef _TYPE_OR_ENTITY_H_
22 # define _TYPE_OR_ENTITY_H_
24 #include "firm_types.h"
26 /** A data type to treat types and entities as the same. */
28 ir_type *typ; /**< points to a type */
29 entity *ent; /**< points to an entity */
33 # endif /* _TYPE_OR_ENTITY_H_ */