memalloc.h

来自「本程序是基于Zigbee协议的无线温度传感器网络系统」· C头文件 代码 · 共 37 行

H
37
字号
/*
*2006/08/16 WXL 2.0
 * came from vendor  sources with
 *
 */

/*
 V0.2 added PC-based binding         21/July/2006
V0.1 Initial Release                10/July/2006

*/


#ifndef _MEMALLOC_H_
#define _MEMALLOC_H_

void MemInit (void);
void MemDump(void);
UINT8 * MemAlloc (UINT16 size);
void MemFree(UINT8 *ptr);


#ifdef LRWPAN_COMPILER_NO_RECURSION

UINT8 * ISRMemAlloc (UINT16 size);
void ISRMemFree(UINT8 *ptr);

#else

#define ISRMemAlloc(x)   MemAlloc(x)
#define ISRMemFree(x)   MemFree(x)

#endif


#endif

⌨️ 快捷键说明

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