bget.h

来自「一个简单实用的内存管理程序」· C头文件 代码 · 共 21 行

H
21
字号
/*

    Interface definitions for bget.c, the memory management package.

*/


#ifdef __cplusplus
extern "C" {
#endif

typedef long bufsize;

void	bpool	    (void *buffer, bufsize len);
void   *bget	    (bufsize size);
void	brel	    (void *buf);
void bstats(bufsize* curalloc, bufsize* totfree, bufsize* maxfree, long *nget, long* nrel);
#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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