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 |
#include "implement.h"
|
|
|
32 |
#include "interface.h"
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
/*
|
|
|
36 |
TYPE_INFO STRUCTURES FOR BUILT-IN TYPES
|
|
|
37 |
|
|
|
38 |
The array __TCPPLUS_typeid gives the TYPE_INFO structures for the
|
|
|
39 |
built-in types. These correspond to the constants in interface.h.
|
|
|
40 |
*/
|
|
|
41 |
|
|
|
42 |
#define INFO( X, Y, Z ) { ( Y ), ( X ), NULL, &__TCPPLUS_ti_vtbl }
|
|
|
43 |
|
|
|
44 |
TYPE_INFO __TCPPLUS_typeid [] = {
|
|
|
45 |
INFO ( "char", RTTI_integer, ARITH_char ),
|
|
|
46 |
INFO ( "<error>", RTTI_other, 2 ),
|
|
|
47 |
INFO ( "void", RTTI_void, ARITH_void ),
|
|
|
48 |
INFO ( "<bottom>", RTTI_void, ARITH_bottom ),
|
|
|
49 |
INFO ( "signed char", RTTI_integer, ARITH_schar ),
|
|
|
50 |
INFO ( "short", RTTI_integer, ARITH_sshort ),
|
|
|
51 |
INFO ( "int", RTTI_integer, ARITH_sint ),
|
|
|
52 |
INFO ( "long", RTTI_integer, ARITH_slong ),
|
|
|
53 |
INFO ( "unsigned char", RTTI_integer, ARITH_uchar ),
|
|
|
54 |
INFO ( "unsigned short", RTTI_integer, ARITH_ushort ),
|
|
|
55 |
INFO ( "unsigned int", RTTI_integer, ARITH_uint ),
|
|
|
56 |
INFO ( "unsigned long", RTTI_integer, ARITH_ulong ),
|
|
|
57 |
INFO ( "float", RTTI_float, ARITH_float ),
|
|
|
58 |
INFO ( "double", RTTI_float, ARITH_double ),
|
|
|
59 |
INFO ( "long double", RTTI_float, ARITH_ldouble ),
|
|
|
60 |
INFO ( "<error>", RTTI_other, 15 ),
|
|
|
61 |
INFO ( "wchar_t", RTTI_integer, ARITH_wchar_t ),
|
|
|
62 |
INFO ( "bool", RTTI_integer, ARITH_bool ),
|
|
|
63 |
INFO ( "ptrdiff_t", RTTI_integer, ARITH_ptrdiff_t ),
|
|
|
64 |
INFO ( "size_t", RTTI_integer, ARITH_size_t ),
|
|
|
65 |
INFO ( "...", RTTI_void, ARITH_ellipsis ),
|
|
|
66 |
INFO ( "<error>", RTTI_other, 21 ),
|
|
|
67 |
INFO ( "<error>", RTTI_other, 22 ),
|
|
|
68 |
INFO ( "long long", RTTI_integer, ARITH_sllong ),
|
|
|
69 |
INFO ( "<error>", RTTI_other, 24 ),
|
|
|
70 |
INFO ( "<error>", RTTI_other, 25 ),
|
|
|
71 |
INFO ( "<error>", RTTI_other, 26 ),
|
|
|
72 |
INFO ( "unsigned long long", RTTI_integer, ARITH_ullong ),
|
|
|
73 |
INFO ( "<error>", RTTI_other, 28 ),
|
|
|
74 |
INFO ( "<error>", RTTI_other, 29 ),
|
|
|
75 |
INFO ( "<error>", RTTI_other, 30 ),
|
|
|
76 |
INFO ( "<error>", RTTI_other, 31 )
|
|
|
77 |
} ;
|