📄 lmalloc.h
字号:
/*************************************************************************
*
* Copyright (C) Asic Center. 2001
* All Rights Reserved
*
* Filename : malloc.h
* Function :
* Revision :
* 2001/10/16 Pessia Create this file
************************************************************************/
#ifndef LMALLOC_H
#define LMALLOC_H
#include <asixdef.h>
/* the material to be allocated */
/* 500000 bytes */
/*Modified by DSA 2004.07.02*/
//#define Heapsize 500000
#define Heapsize 5000000
/*end M*/
//#define Memsem USERSEMSTART + 1//semid
/* Disable debug */
#define Memdebug 0
//#define DEBUG_CHL
#ifdef HOT_RESET_DEBUG_CODE_ENABLE
PUBLIC void SysLmallocInit(void);
#endif
PUBLIC void *SysLmalloc(DWORD nb);
PUBLIC void SysLfree(void * blk);
PUBLIC void *SysLrealloc(void *area, DWORD size);
PUBLIC void *SysLcalloc(DWORD size);
/* we don't use semaphore to wait for enough memory */
//void *SysLmallocw(WORD nb);
//void *SysLcallocw(unsigned size);
#endif /* LMALLOC_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -