home *** CD-ROM | disk | FTP | other *** search
- /* $Id: newhandl.cpp,v 1.1 1991/12/03 20:20:03 jeff Exp $ */
- /*********************************************************************
- (C) Copyright 1990-1991; Franklin L. DeRemer, Thomas J. Pennello,
- MetaWare Incorporated; Santa Cruz, CA 95060.
- This program is the unpublished property and trade secret of the above
- three. It is to be utilized solely under license from MetaWare and it
- is to be maintained on a confidential basis for internal company use
- only. The security and protection of the program is paramount to
- maintenance of the trade secret status. It is to be protected from
- disclosure to unauthorized parties, both within the Licensee company
- and outside, in a manner not less stringent than that utilized for Li-
- censee's own proprietary internal information. No copies of the
- Source or Object Code are to leave the premises of Licensee's business
- except in strict accordance with the license agreement signed by Li-
- censee with MetaWare.
- *********************************************************************/
-
- /*
- * $Log: newhandl.cpp,v $
- # Revision 1.1 1991/12/03 20:20:03 jeff
- # Initial revision
- #
- *
- */
-
-
- #c_include <new.h>
-
- void (*_mwnewhandler)(void)=0;
-
- void (*set_new_handler(void (*handler)(void)))(void) {
-
- void (*tmp)(void);
-
- tmp = _mwnewhandler;
- _mwnewhandler = handler;
- return tmp;
-
- }
-
-