diff options
Diffstat (limited to 'include/08.heap/heap4.c')
| -rw-r--r-- | include/08.heap/heap4.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/08.heap/heap4.c b/include/08.heap/heap4.c new file mode 100644 index 0000000..024a09a --- /dev/null +++ b/include/08.heap/heap4.c @@ -0,0 +1,3 @@ + b = (KHEAPBLOCKBM*)addr; + b->size = size - sizeof(KHEAPBLOCKBM); + b->bsize = bsize; |
