/*
 *   new.h
 *
 *   C++ operator new and related functions.
 *
 *           Copyright (c) 1991-1992, MetaWare Incorporated
 */

/*   $Id: new.h,v 1.4 1994/11/07 23:33:13 budis Exp budis $ */


#ifndef __NEW_H
#define __NEW_H

#ifdef __CPLUSPLUS__

#ifndef __STDDEF_H
#include <stddef.h>
#endif

// The "new handler" will be called whenever operator new is unable to
// allocate memory.  After it returns, operator new will return NULL (0).
extern void (*set_new_handler(void(*)(void)))(void);

extern void *operator new(size_t, void*);

#endif __CPLUSPLUS__

#endif __NEW_H

/**          Copyright (c) 1991-1992, MetaWare Incorporated            **/

