📄 memalloc.h
字号:
/*******************************************************************************\
Description:
Implementation file of Memory allocation routiness
history:
\*******************************************************************************/
#ifndef _MEMALLOC_H
#define _MEMALLOC_H
#ifndef BYTE
typedef unsigned char BYTE;
#endif
bool AllocMem(unsigned char** &pLoc , long lWidth , long lHeight );
unsigned char** FreeMem(unsigned char **pMem);
bool AllocMem( long** &pLoc , long lWidth , long lHeight );
long** FreeMem(long **pMem);
bool AllocMem( float** &pLoc , long lWidth , long lHeight );
float** FreeMem(float **pMem);
bool AllocMem( double** &pLoc , long lWidth , long lHeight );
double** FreeMem(double **pMem);
bool AllocMem( float*** &pLoc , long lLayer, long lWidth , long lHeight );
float *** FreeMem(float ***pMem, long lLayer);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -