| Last change
 on this file since 1031 was             847, checked in by bird, 26 years ago | 
        
          | 
Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)
 | 
        
          | File size:
            784 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: new.h,v 1.1 1999-09-06 02:19:59 bird Exp $ | 
|---|
| 2 | * | 
|---|
| 3 | * new - new and delete operators. | 
|---|
| 4 | * | 
|---|
| 5 | * Copyright (c) 1998-1999 knut st. osmundsen | 
|---|
| 6 | * | 
|---|
| 7 | */ | 
|---|
| 8 |  | 
|---|
| 9 | #ifdef __new_h | 
|---|
| 10 | #error("wrong version of new allready loaded!") | 
|---|
| 11 | #endif | 
|---|
| 12 |  | 
|---|
| 13 | #ifdef __DEBUG_ALLOC__ | 
|---|
| 14 | #error("__DEBUG_ALLOC__ is not supported!") | 
|---|
| 15 | #endif | 
|---|
| 16 |  | 
|---|
| 17 |  | 
|---|
| 18 | #ifndef _new_h_ | 
|---|
| 19 | #define _new_h_ | 
|---|
| 20 |  | 
|---|
| 21 | /* size_t */ | 
|---|
| 22 | #ifndef __size_t | 
|---|
| 23 | #define  __size_t | 
|---|
| 24 | typedef  unsigned int size_t; | 
|---|
| 25 | #endif | 
|---|
| 26 |  | 
|---|
| 27 | /* The standard favourites */ | 
|---|
| 28 | void *operator new(size_t size); | 
|---|
| 29 | void *operator new(size_t size, void *location);  /* stub */ | 
|---|
| 30 |  | 
|---|
| 31 | void *operator new[](size_t size);                /* stub */ | 
|---|
| 32 | void *operator new[](size_t size, void *location);/* stub */ | 
|---|
| 33 |  | 
|---|
| 34 | void operator delete(void *location); | 
|---|
| 35 | void operator delete[](void *location);           /* stub */ | 
|---|
| 36 |  | 
|---|
| 37 | #endif | 
|---|
| 38 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.