Subversion Repositories tendra.SVN

Rev

Rev 2 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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 STRUCT_INCLUDED
32
#define STRUCT_INCLUDED
33
 
34
 
35
/*
36
    TDF CLASS ENCODING ROUTINES
37
 
38
    The routines in this module are concerned with the mappings of classes
39
    to TDF SHAPEs.
40
*/
41
 
42
#if TDF_OUTPUT
43
extern ulong compile_class PROTO_S ( ( CLASS_TYPE ) ) ;
44
extern BITSTREAM *enc_null_class PROTO_S ( ( BITSTREAM *, CLASS_TYPE ) ) ;
45
extern BITSTREAM *enc_ctor_init PROTO_S ( ( BITSTREAM *, EXP ) ) ;
46
extern BITSTREAM *enc_member PROTO_S ( ( BITSTREAM *, IDENTIFIER ) ) ;
47
extern BITSTREAM *enc_al_ctype PROTO_S ( ( BITSTREAM *, CLASS_TYPE ) ) ;
48
extern BITSTREAM *enc_ctype PROTO_S ( ( BITSTREAM *, CLASS_TYPE ) ) ;
49
extern BITSTREAM *enc_base PROTO_S ( ( BITSTREAM *, GRAPH, int ) ) ;
50
extern BITSTREAM *enc_add_base PROTO_S ( ( BITSTREAM *, OFFSET, OFFSET ) ) ;
51
extern BITSTREAM *enc_end_base PROTO_S ( ( BITSTREAM *, OFFSET, OFFSET ) ) ;
52
extern BITSTREAM *enc_rtti_type PROTO_S ( ( BITSTREAM *, TYPE, int ) ) ;
53
extern BITSTREAM *enc_rtti_exp PROTO_S ( ( BITSTREAM *, EXP ) ) ;
54
extern BITSTREAM *enc_dyn_cast PROTO_S ( ( BITSTREAM *, EXP ) ) ;
55
extern BITSTREAM *enc_vtable_shape PROTO_S ( ( BITSTREAM *, ulong ) ) ;
56
extern ulong virtual_no PROTO_S ( ( IDENTIFIER, VIRTUAL ) ) ;
57
extern void define_vtable PROTO_S ( ( CLASS_TYPE, int, int ) ) ;
58
extern void compile_incompl PROTO_S ( ( void ) ) ;
59
extern IDENTIFIER dummy_type_name ;
60
extern OFFSET off_size_t ;
61
extern ulong size_dummy_vtab ;
62
extern TYPE ptr_dummy_class ;
63
extern TYPE ptr_dummy_vtab ;
64
extern TYPE dummy_class ;
65
extern TYPE dummy_count ;
66
extern TYPE dummy_vtab ;
67
extern TYPE dummy_func ;
68
#endif
69
 
70
 
71
#endif