diff options
| author | Bobby <[email protected]> | 2026-03-30 15:02:42 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-30 15:02:42 +0530 |
| commit | 2324951126b542aeecfd8dd12b381265cce1566c (patch) | |
| tree | a580fe97a13788fbe3b104e3a9553f551c2bff11 /mirai/memory/zone/zone.zig | |
| parent | 3c2c5c419cae1b7f2d60e8a3dc6e2e8c157b5a2f (diff) | |
| download | akiba-main.tar.xz akiba-main.zip | |
Diffstat (limited to 'mirai/memory/zone/zone.zig')
| -rw-r--r-- | mirai/memory/zone/zone.zig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mirai/memory/zone/zone.zig b/mirai/memory/zone/zone.zig new file mode 100644 index 0000000..72ad208 --- /dev/null +++ b/mirai/memory/zone/zone.zig @@ -0,0 +1,20 @@ +//! Zone Allocator + +pub const types = @import("types/types.zig"); +pub const bootstrap = @import("bootstrap/bootstrap.zig"); +pub const create = @import("create/create.zig"); +pub const alloc = @import("alloc/alloc.zig"); +pub const gc = @import("gc/gc.zig"); + +pub const Zone = types.Zone; +pub const ZonePageMeta = types.ZonePageMeta; + +pub const init = bootstrap.init; +pub const zone_create = create.create; +pub const zalloc = alloc.zalloc; +pub const zalloc_zeroed = alloc.zalloc_zeroed; +pub const zfree = alloc.zfree; +pub const collect = gc.collect; + +pub const AllocError = alloc.AllocError; +pub const CreateError = create.CreateError; |
