Annotation of mstools/h/new.h, revision 1.1.1.1

1.1       root        1: /***
                      2: *new.h - declarations and definitions for C++ memory allocation functions
                      3: *
                      4: *       Copyright (c) 1990-1992, Microsoft Corporation.  All rights reserved.
                      5: *
                      6: *Purpose:
                      7: *       Contains the declarations for C++ memory allocation functions.
                      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: #elif ( _MSC_VER == 600 )
                     27: 
                     28: /*
                     29:  * Definitions for old MS C6-386 compiler
                     30:  */
                     31: #define _CRTAPI1 _cdecl
                     32: #define _CRTAPI2 _cdecl
                     33: #define _M_IX86  300
                     34: 
                     35: #else
                     36: 
                     37: /*
                     38:  * Other compilers (e.g., MIPS)
                     39:  */
                     40: #define _CRTAPI1
                     41: #define _CRTAPI2
                     42: 
                     43: #endif
                     44: 
                     45: 
                     46: /* types and structures */
                     47: 
                     48: #ifndef _SIZE_T_DEFINED
                     49: typedef unsigned int size_t;
                     50: #define _SIZE_T_DEFINED
                     51: #endif
                     52: 
                     53: typedef int (_CRTAPI1 * _PNH)( size_t );
                     54: 
                     55: /* function prototypes */
                     56: 
                     57: _PNH _CRTAPI1 _set_new_handler( _PNH );
                     58: 
                     59: #define __INC_NEW
                     60: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.