aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap17.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/08.heap/heap17.c')
-rw-r--r--include/08.heap/heap17.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/08.heap/heap17.c b/include/08.heap/heap17.c
new file mode 100644
index 0000000..ff94380
--- /dev/null
+++ b/include/08.heap/heap17.c
@@ -0,0 +1,2 @@
+ /* allocate by setting id */
+ for (z = 0; z < y; ++z) bm[x + z] = nid;