|
|
1.1 root 1: /***
2: *new.h - declarations and definitions for C++ memory allocation functions
3: *
1.1.1.2 ! root 4: * Copyright (c) 1990-1993, Microsoft Corporation. All rights reserved.
1.1 root 5: *
6: *Purpose:
1.1.1.2 ! root 7: * Contains the declarations for C++ memory allocation functions.
1.1 root 8: *
9: ****/
10:
11: #ifndef __INC_NEW
12:
13:
14: /*
15: * Conditional macro definition for function calling type and variable type
16: * qualifiers.
17: */
18: #if ( (_MSC_VER >= 800) && (_M_IX86 >= 300) )
19:
20: /*
21: * Definitions for MS C8-32 (386/486) compiler
22: */
23: #define _CRTAPI1 __cdecl
24: #define _CRTAPI2 __cdecl
25:
26: #else
27:
28: /*
29: * Other compilers (e.g., MIPS)
30: */
31: #define _CRTAPI1
32: #define _CRTAPI2
33:
34: #endif
35:
36:
37: /* types and structures */
38:
39: #ifndef _SIZE_T_DEFINED
40: typedef unsigned int size_t;
41: #define _SIZE_T_DEFINED
42: #endif
43:
44: typedef int (_CRTAPI1 * _PNH)( size_t );
45:
46: /* function prototypes */
47:
48: _PNH _CRTAPI1 _set_new_handler( _PNH );
49:
50: #define __INC_NEW
51: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.