home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / win3 / patches / symantec / rtlinc.exe / NEW.H < prev    next >
C/C++ Source or Header  |  1993-09-03  |  465b  |  21 lines

  1. /*_ new.hpp   Fri Aug 10 1990   Modified by: Walter Bright */
  2.  
  3. #ifndef __NEW_H
  4. #define __NEW_H    1
  5.  
  6. extern "C++" {
  7.  
  8. #if !__STDDEF_H
  9. inline void *operator new(unsigned, void *p) { return p; }
  10. #endif
  11.  
  12. typedef int (__cdecl * _PNH)( unsigned );    //for Microsoft compatibility
  13. typedef void (* PFVV)();        //as defined in ARM
  14.  
  15.  
  16. _PNH __cdecl _set_new_handler(_PNH);        //for Microsoft compatibility
  17. PFVV set_new_handler(PFVV);            //as defined in ARM
  18. }
  19.  
  20. #endif
  21.