balloc.h

来自「遗传算法和神经网络结合」· C头文件 代码 · 共 25 行

H
25
字号
#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 + =
减小字号Ctrl + -
显示快捷键?