Pristine Ack-5.5
[Ack-5.5.git] / mach / proto / cg / result.h
1 /*
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".
4  */
5 /* $Id: result.h,v 2.3 1994/06/24 13:24:15 ceriel Exp $ */
6
7 struct result {
8         int     e_typ;          /* EV_INT,EV_REG,EV_STR */
9         union {
10                 word e_con;
11                 int e_reg;
12                 string e_str;
13         } e_v;                  /* value */
14 };
15
16 #define EV_UNDEF 0
17 #define EV_INT  1
18 #define EV_REG  2
19 #define EV_STR  3
20
21 typedef struct result result_t;
22
23 extern result_t compute();