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 ALLOCATE_INCLUDED
32
#define ALLOCATE_INCLUDED
33
 
34
 
35
/*
36
    ALLOCATION EXPRESSION DECLARATIONS
37
 
38
    The routines in this module are used to build up the new and delete
39
    expressions.  sizeof expressions are also included for no very good
40
    reason.
41
*/
42
 
43
extern IDENTIFIER find_allocator PROTO_S ( ( TYPE, int, int, IDENTIFIER ) ) ;
44
extern TYPE check_allocator PROTO_S ( ( TYPE, IDENTIFIER, int, int ) ) ;
45
extern void recheck_allocator PROTO_S ( ( IDENTIFIER, int ) ) ;
46
extern EXP make_delete_exp PROTO_S ( ( int, int, EXP ) ) ;
47
extern EXP make_new_exp PROTO_S ( ( TYPE, int, int, LIST ( EXP ), EXP ) ) ;
48
extern EXP make_new_init PROTO_S ( ( TYPE, LIST ( EXP ), int ) ) ;
49
extern EXP begin_new_try PROTO_S ( ( void ) ) ;
50
extern EXP end_new_try PROTO_S ( ( EXP, EXP ) ) ;
51
extern EXP new_try_body PROTO_S ( ( EXP ) ) ;
52
extern EXP make_sizeof_exp PROTO_S ( ( TYPE, EXP, int, int ) ) ;
53
extern TYPE typeof_exp PROTO_S ( ( EXP *, int, int ) ) ;
54
extern NAT make_new_array_dim PROTO_S ( ( EXP ) ) ;
55
extern void old_delete_array PROTO_S ( ( EXP ) ) ;
56
extern EXP sizeof_array PROTO_S ( ( TYPE *, TYPE ) ) ;
57
extern EXP sizeof_init PROTO_S ( ( EXP, TYPE ) ) ;
58
extern EXP sizeof_exp PROTO_S ( ( TYPE ) ) ;
59
 
60
 
61
#endif