aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap6.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/08.heap/heap6.c')
-rw-r--r--include/08.heap/heap6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/08.heap/heap6.c b/include/08.heap/heap6.c
new file mode 100644
index 0000000..3a9ea03
--- /dev/null
+++ b/include/08.heap/heap6.c
@@ -0,0 +1,2 @@
+ bcnt = b->size / b->bsize;
+ bm = (uint8_t*)&b[1];