📄 balloc.h
字号:
#ifndef BALLOC_H#define BALLOC_H#include <stdlib.h>#include <stdio.h>#ifdef __cplusplusextern "C"{#endifstruct b_block{ size_t block_size; void *mem; struct b_block *prev; struct b_block *next;};extern void *balloc(size_t mem);extern void *bealloc(void *ptr, size_t mem);extern void bfree(void *ptr);#ifdef __cplusplus }#endif#endif /* BALLOC_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -