⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smf_buf.h

📁 the test file for GP32 gameboy hack
💻 H
字号:
#ifndef SMF_BUF_H_
#define SMF_BUF_H_

#if (SM_OS == MS_WINNT || SM_OS == MS_WINDOWS) && defined(_DEBUG)
#define SMB_ALLOC_BUF()		smbAllocBuf(__FILE__, __LINE__)
#define SMB_FREE_BUF(buf)	smbFreeBuf((buf), __FILE__, __LINE__)
#else
#define SMB_ALLOC_BUF()		smbAllocBuf()
#define SMB_FREE_BUF(buf)	smbFreeBuf((buf))
#endif

extern void smbBufPoolInit(void);

#if (SM_OS == MS_WINNT || SM_OS == MS_WINDOWS) && defined(_DEBUG)
extern ubyte* smbAllocBuf(const ubyte* file, int line);
#else
extern ubyte* smbAllocBuf(void);
#endif

#if (SM_OS == MS_WINNT || SM_OS == MS_WINDOWS) && defined(_DEBUG)
extern void smbFreeBuf(ubyte* buf, const ubyte* file, int line);
#else
extern void smbFreeBuf(ubyte* buf);
#endif

#endif	/* SMF_BUF_H_ */

⌨️ 快捷键说明

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