alloc.h
来自「EMU_FTAbox_ref441328_code_source ali m33」· C头文件 代码 · 共 46 行
H
46 行
/****************************************************************************
*
* ALi
*
* File: alloc.h
*
* Description:
*
* History:
* Date Author Version Comment
* ==== ====== ======= =======
*
*
****************************************************************************/
#ifndef __LIB_C_ALLOC_H__
#define __LIB_C_ALLOC_H__
#ifdef __cplusplus
extern "C"
{
#endif
#define MALLOC(a) malloc(a)
#define REALLOC(ptr, len) realloc(ptr, len)
#define FREE(a) free(a)
#define __malloc_size_t unsigned int
#define __malloc_ptrdiff_t int
#define __ptr_t void *
__ptr_t malloc (__malloc_size_t size);
__ptr_t realloc (__ptr_t ptr, __malloc_size_t size);
void free (__ptr_t ptr);
#ifdef __cplusplus
}
#endif
#endif /* __LIB_C_ALLOC_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?