2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 /* $Id: type.str,v 3.10 1994/06/24 12:06:43 ceriel Exp $ */
9 #include "nobitfield.h"
13 struct type *next; /* used only with ARRAY */
14 short tp_fund; /* fundamental type */
17 arith tp_size; /* -1 if declared but not defined */
18 struct idf *tp_idf; /* name of STRUCT, UNION or ENUM */
19 struct sdef *tp_sdef; /* to first selector */
20 struct type *tp_up; /* from FIELD, POINTER, ARRAY
21 or FUNCTION to fund. */
22 struct field *tp_field; /* field descriptor if fund == FIELD */
23 struct type *tp_pointer;/* to POINTER */
24 struct type *tp_array; /* to ARRAY */
25 struct type *tp_function;/* to FUNCTION */
32 *create_type(), *standard_type(), *construct_type(), *pointer_to(),
33 *array_of(), *function_of();
36 extern struct type *field_of();
37 #endif /* NOBITFIELD */
40 *char_type, *uchar_type,
41 *short_type, *ushort_type,
42 *word_type, *uword_type,
43 *int_type, *uint_type,
44 *long_type, *ulong_type,
46 *float_type, *double_type,
48 *void_type, *label_type,
49 *string_type, *funint_type, *error_type;
51 extern struct type *pa_type; /* type.c */
53 extern arith size_of_type(), align();
55 /* ALLOCDEF "type" 20 */