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