home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c063 / 1.ddi / INCLUDE.ZIP / NEW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-18  |  490 b   |  30 lines

  1. /*  new.h
  2.  
  3.     Access to operator new() and newhandler()
  4.  
  5.     Copyright (c) 1990, 1991 by Borland International
  6.     All Rights Reserved.
  7. */
  8.  
  9. #if !defined( __NEW_H )
  10. #define __NEW_H
  11.  
  12. #if !defined( __DEFS_H )
  13. #include <_defs.h>
  14. #endif
  15.  
  16. #ifndef __cplusplus
  17. #error Must use C++ with new.h
  18. #endif
  19.  
  20. typedef void (* pvf)();
  21.  
  22. extern void (* _Cdecl _new_handler)();
  23.  
  24. void (* set_new_handler( void (* )() ))();
  25.  
  26. void * operator new( unsigned );
  27.  
  28. #endif  /* __NEW_H */
  29.  
  30.