ammem.h
来自「JPEG解压软件,包含PC端的测试程序,程序结构比较清晰」· C头文件 代码 · 共 47 行
H
47 行
/*
* 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 + =
减小字号Ctrl + -
显示快捷键?