2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
#ifndef INTERFACE_INCLUDED
|
|
|
32 |
#define INTERFACE_INCLUDED
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
/*
|
|
|
36 |
INTERFACE WITH STANDARD LIBRARY
|
|
|
37 |
|
|
|
38 |
The interface with the standard library is given primarily by the
|
|
|
39 |
tokens declared in tok.c, however other information is passed via
|
|
|
40 |
the constants defined in this header, which is common to both the
|
|
|
41 |
compiler and the library.
|
|
|
42 |
*/
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
/*
|
|
|
46 |
ARITHMETIC TYPE CODES
|
|
|
47 |
|
|
|
48 |
These values give the codes used to encode the arithmetic types.
|
|
|
49 |
*/
|
|
|
50 |
|
|
|
51 |
#define ARITH_char 0
|
|
|
52 |
#define ARITH_schar 4
|
|
|
53 |
#define ARITH_sshort 5
|
|
|
54 |
#define ARITH_sint 6
|
|
|
55 |
#define ARITH_slong 7
|
|
|
56 |
#define ARITH_uchar 8
|
|
|
57 |
#define ARITH_ushort 9
|
|
|
58 |
#define ARITH_uint 10
|
|
|
59 |
#define ARITH_ulong 11
|
|
|
60 |
#define ARITH_sllong 23
|
|
|
61 |
#define ARITH_ullong 27
|
|
|
62 |
#define ARITH_float 12
|
|
|
63 |
#define ARITH_double 13
|
|
|
64 |
#define ARITH_ldouble 14
|
|
|
65 |
|
|
|
66 |
#define ARITH_error 1
|
|
|
67 |
#define ARITH_void 2
|
|
|
68 |
#define ARITH_bottom 3
|
|
|
69 |
#define ARITH_bool 17
|
|
|
70 |
#define ARITH_ptrdiff_t 18
|
|
|
71 |
#define ARITH_size_t 19
|
|
|
72 |
#define ARITH_wchar_t 16
|
|
|
73 |
#define ARITH_ellipsis 20
|
|
|
74 |
#define ARITH_none 256
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
/*
|
|
|
78 |
RUN-TIME TYPE INFORMATION CODES
|
|
|
79 |
|
|
|
80 |
These values give the codes for the various information used in run-time
|
|
|
81 |
type information. The facts that the base class access codes are in
|
|
|
82 |
ascending order and that zero corresponds to public are used.
|
|
|
83 |
*/
|
|
|
84 |
|
|
|
85 |
#define RTTI_integer 0
|
|
|
86 |
#define RTTI_float 1
|
|
|
87 |
#define RTTI_void 2
|
|
|
88 |
#define RTTI_class 3
|
|
|
89 |
#define RTTI_union 4
|
|
|
90 |
#define RTTI_enum 5
|
|
|
91 |
#define RTTI_ptr 6
|
|
|
92 |
#define RTTI_ref 7
|
|
|
93 |
#define RTTI_ptr_mem 8
|
|
|
94 |
#define RTTI_array 9
|
|
|
95 |
#define RTTI_bitfield 10
|
|
|
96 |
#define RTTI_func 11
|
|
|
97 |
#define RTTI_c_func 12
|
|
|
98 |
#define RTTI_other 13
|
|
|
99 |
|
|
|
100 |
#define INFO_const 1
|
|
|
101 |
#define INFO_volatile 2
|
|
|
102 |
|
|
|
103 |
#define INFO_public 0
|
|
|
104 |
#define INFO_protected 1
|
|
|
105 |
#define INFO_private 2
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
/*
|
|
|
109 |
EXTRA VIRTUAL FUNCTION TABLE ENTRIES
|
|
|
110 |
|
|
|
111 |
This value gives the base from which virtual function entries are
|
|
|
112 |
calculated.
|
|
|
113 |
*/
|
|
|
114 |
|
|
|
115 |
#define VIRTUAL_EXTRA 1
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
#endif
|