home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / BCPPOWL3.ZIP / PATINC.ZIP / NEW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-28  |  556 b   |  30 lines

  1. /*  new.h
  2.  
  3.     Access to operator new() and newhandler()
  4.  
  5.     Copyright (c) Borland International 1990,1991
  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 (_FAR * _FARFUNC pvf)();
  21.  
  22. extern void (_FAR * _Cdecl _FARFUNC _new_handler)();
  23.  
  24. void (_FAR * _FARFUNC set_new_handler( void (_FAR * _FARFUNC )() ))();
  25.  
  26. void _FAR * _FARFUNC operator new( unsigned );
  27.  
  28. #endif  /* __NEW_H */
  29.  
  30.