📄 ammem.h
字号:
/*
* AMMem.h
*
* the definitions of memory operations
*
*/
#ifndef _AMMEM_H_
#define _AMMEM_H_
#include "AMComDef.h"
#ifdef __cplusplus
extern "C" {
#endif
MPVoid AMMemAlloc(MHandle hContext, MLong size);
MVoid AMMemFree(MHandle hContext, MPVoid pMem);
MHandle AMHugeMemAlloc(MHandle hContext, MLong size);
MVoid AMHugeMemFree(MHandle hContext, MHandle hMem);
MPVoid AMHugeMemLock(MHandle hContext, MHandle hMem);
MVoid AMHugeMemUnlock(MHandle hContext, MHandle hMem);
MVoid AMMemSet(MPVoid mem, MByte val, MLong size);
MVoid AMMemCpy(MPVoid dst, const MPVoid src, MLong size);
MVoid AMMemMove(MPVoid dst, const MPVoid src, MLong size);
#ifdef _PALM_OS_
//transfer in AppStart
MVoid AMOpenMemDBRef();
//transfer in AppStop
MVoid AMCloseMemDBRef();
#endif
#ifdef __cplusplus
}
#endif
#endif /*_AMMEM_H_*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -