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 |
AUTOMATICALLY GENERATED FROM ALGEBRA tdf (VERSION 1.0)
|
|
|
32 |
BY calculus (VERSION 1.2)
|
|
|
33 |
*/
|
|
|
34 |
|
|
|
35 |
#ifndef PAR_OPS_H_INCLUDED
|
|
|
36 |
#define PAR_OPS_H_INCLUDED
|
|
|
37 |
|
|
|
38 |
/* Operations for union PARAMETER */
|
|
|
39 |
|
|
|
40 |
#define TAG_par( P ) ( ( unsigned ) 0 )
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
/* Operations for component name of union PARAMETER */
|
|
|
44 |
|
|
|
45 |
#define par_name( P ) ( CHECK_NULL ( P ) + 0 )
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
/* Operations for component type of union PARAMETER */
|
|
|
49 |
|
|
|
50 |
#define par_type( P ) ( CHECK_NULL ( P ) + 1 )
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
/* Operations for component brk of union PARAMETER */
|
|
|
54 |
|
|
|
55 |
#define par_brk( P ) ( CHECK_NULL ( P ) + 2 )
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
/* Operations for component align of union PARAMETER */
|
|
|
59 |
|
|
|
60 |
#define par_align( P ) ( CHECK_NULL ( P ) + 3 )
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
/* Operations for component intro of union PARAMETER */
|
|
|
64 |
|
|
|
65 |
#define par_intro( P ) ( CHECK_NULL ( P ) + 4 )
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
/* Operations for field basic of union PARAMETER */
|
|
|
69 |
|
|
|
70 |
#define par_basic_tag ( ( unsigned ) 0 )
|
|
|
71 |
#define IS_par_basic( P ) 1
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
#define MAKE_par_basic( name_, type_, brk_, align_, intro_, tdf_par )\
|
|
|
75 |
{\
|
|
|
76 |
tdf *x65_ = GEN_tdf ( 5, TYPEID_par ) ;\
|
|
|
77 |
COPY_string ( x65_ + 0, ( name_ ) ) ;\
|
|
|
78 |
COPY_sort ( x65_ + 1, ( type_ ) ) ;\
|
|
|
79 |
COPY_int ( x65_ + 2, ( brk_ ) ) ;\
|
|
|
80 |
COPY_int ( x65_ + 3, ( align_ ) ) ;\
|
|
|
81 |
COPY_int ( x65_ + 4, ( intro_ ) ) ;\
|
|
|
82 |
( tdf_par ) = x65_ ;\
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
#define DECONS_par_basic( name_, type_, brk_, align_, intro_, tdf_par )\
|
|
|
86 |
{\
|
|
|
87 |
tdf *x66_ = ( tdf_par ) ;\
|
|
|
88 |
( name_ ) = DEREF_string ( x66_ + 0 ) ;\
|
|
|
89 |
( type_ ) = DEREF_sort ( x66_ + 1 ) ;\
|
|
|
90 |
( brk_ ) = DEREF_int ( x66_ + 2 ) ;\
|
|
|
91 |
( align_ ) = DEREF_int ( x66_ + 3 ) ;\
|
|
|
92 |
( intro_ ) = DEREF_int ( x66_ + 4 ) ;\
|
|
|
93 |
}
|
|
|
94 |
|
|
|
95 |
#define DESTROY_par_basic( destroyer_, name_, type_, brk_, align_, intro_, tdf_par )\
|
|
|
96 |
{\
|
|
|
97 |
tdf *x67_ = ( tdf_par ) ;\
|
|
|
98 |
( name_ ) = DEREF_string ( x67_ + 0 ) ;\
|
|
|
99 |
( type_ ) = DEREF_sort ( x67_ + 1 ) ;\
|
|
|
100 |
( brk_ ) = DEREF_int ( x67_ + 2 ) ;\
|
|
|
101 |
( align_ ) = DEREF_int ( x67_ + 3 ) ;\
|
|
|
102 |
( intro_ ) = DEREF_int ( x67_ + 4 ) ;\
|
|
|
103 |
( destroyer_ ) ( x67_, ( unsigned ) 5 ) ;\
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
#endif
|