new.h

来自「dragon ball vz328 上的一个例子程序。 用于做手持仪表用。」· C头文件 代码 · 共 31 行

H
31
字号
//****************************************************************
//	Copyright 1994 Software Development Systems, Inc.
//	All rights reserved
//
//	C++ Runtime Support -- ::operator new
//
//	Use C++ comment convention to check that the C++ compiler
//	is being used.
//****************************************************************
#ifndef __NEW
#define	__NEW

#ifndef __SIZE_T
#define __SIZE_T
#ifdef _INTBITS
    typedef _size_t		size_t;
#else
    typedef unsigned int	size_t;
#endif
#endif

extern "C++" {

void (*set_new_handler( void (*)(void) ))(void);
void *operator new( size_t );
void operator delete( void * );

}

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?