⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 real_malloc.c

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 C
字号:
/*  * Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers * Copyright (c) 1991-1994 by Xerox Corporation.  All rights reserved. * * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK. * * Permission is hereby granted to use or copy this program * for any purpose,  provided the above notices are retained on all copies. * Permission to modify the code and to distribute modified code is granted, * provided the above notices are retained, and a notice that the code was * modified is included with the above copyright notice. *//* Boehm, May 19, 1994 2:04 pm PDT */# ifdef PCR/* * This definition should go in its own file that includes no other * header files.  Otherwise, we risk not getting the underlying system * malloc. */# define PCR_NO_RENAME# include <stdlib.h># ifdef __STDC__    char * real_malloc(size_t size)# else     char * real_malloc()    int size;# endif{    return((char *)malloc(size));}#endif /* PCR */

⌨️ 快捷键说明

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