home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / M < prev    next >
Encoding:
Text File  |  1992-03-26  |  557 b   |  27 lines

  1. /*
  2.  *   new.h
  3.  *
  4.  *   C++ operator new and related functions.
  5.  *
  6.  *           Copyright (c) 1991-1992, MetaWare Incorporated
  7.  */
  8.  
  9. /*   $Id: new.h,v 1.2 1992/03/27 02:02:48 budis Exp $ */
  10.  
  11.  
  12. #ifndef __NEW_H
  13. #define __NEW_H
  14.  
  15. #ifdef __CPLUSPLUS__
  16.  
  17. // The "new handler" will be called whenever operator new is unable to
  18. // allocate memory.  After it returns, operator new will return NULL (0).
  19. extern void (*set_new_handler(void(*)(void)))(void);
  20.  
  21. #endif __CPLUSPLUS__
  22.  
  23. #endif __NEW_H
  24.  
  25. /**          Copyright (c) 1991-1992, MetaWare Incorporated            **/
  26.  
  27.