home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / inclf / new.h__ / NEW.H
Encoding:
C/C++ Source or Header  |  1992-09-28  |  1.4 KB  |  30 lines

  1. #ifndef __NEW_H
  2.    #define __NEW_H
  3.  
  4.    /********************************************************************/
  5.    /*  <new.h> header file                                             */
  6.    /*                                                                  */
  7.    /*  Licensed Materials - Property of IBM                            */
  8.    /*                                                                  */
  9.    /*  IBM C Set/2 Beta Version                                        */
  10.    /*  Copyright (C) International Business Machines Corp., 1992       */
  11.    /*  All rights reserved                                             */
  12.    /*                                                                  */
  13.    /*  US Government Users Restricted Rights -                         */
  14.    /*  Use, duplication, or disclosure restricted                      */
  15.    /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  16.    /*                                                                  */
  17.    /********************************************************************/
  18.    #include <stddef.h>
  19.  
  20.    // Definition of C++ storage management -- new & delete
  21.  
  22.    extern void (*set_new_handler (void(*)()))();
  23.    void *operator new(size_t, void *);
  24.  
  25.    // The standard favourites
  26.    void *operator new(size_t);
  27.    void operator delete(void *);
  28.  
  29. #endif /* __NEW_H */
  30.