📄 memory.h
字号:
/* memory.h, HAWK game engine
*
* Copyright 1997-1998 by Phil Frisbie, Jr.
* for Hawk Software
*
* All hardware specific code goes here
*
*/
#ifndef MEMORY_H
#define MEMORY_H
#ifdef __cplusplus
extern "C" {
#endif
BOOL initMemory(void); /* Init memory */
void *TempMalloc(int); /* Temp malloc */
void TempFree(void *); /* Temp free */
void *TagMalloc(int size, int tag); /* Tagged malloc */
void FreeTags(int tag); /* Free all tags */
void memShutdown(void); /* Shutdown and free all memory */
#ifdef __cplusplus
}
#endif
#endif /* MEMORY_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -