uCOS2嵌入式操作系统源码

源代码在线查看: new.h

软件大小: 2026 K
上传用户: hongyancl
关键词: uCOS2 嵌入式操作系统 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*  new.h
				
				    Access to operator new() and newhandler()
				
				    Copyright (c) 1990, 1992 by Borland International
				    All Rights Reserved.
				*/
				
				#if !defined(__NEW_H)
				#define __NEW_H
				
				#if !defined(___DEFS_H)
				#include 
				#endif
				
				#ifndef __cplusplus
				#error Must use C++ with new.h
				#endif
				
				typedef void (_FAR * _FARFUNC pvf)();
				
				extern void (_FAR * _Cdecl _FARFUNC _new_handler)();
				
				void (_FAR * _FARFUNC set_new_handler( void (_FAR * _FARFUNC )() ))();
				
				#ifdef __MSC
				#define _set_new_handler(f) set_new_handler(f)
				#endif
				
				void _FAR * _FARFUNC operator new( unsigned );
				
				#endif  /* __NEW_H */
				
							

相关资源