diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-10-19 21:58:03 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-10-19 21:58:03 +0100 |
commit | bcf6901b8d5acf72c3017f9552892f7bd5a15325 (patch) | |
tree | 0a473d7d4683ac30bc65d5463f0ec6446ddb54ef /src/main.zig | |
download | mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.tar.gz mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.tar.bz2 mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.tar.xz mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.zip |
Initial
Add a wrapper allocator that tracks currently used and max memory
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig new file mode 100644 index 0000000..d5d8c78 --- /dev/null +++ b/src/main.zig @@ -0,0 +1,6 @@ +const ma = @import("max_allocator.zig"); +pub const MaxAllocator = ma.MaxAllocator; +pub const maxAllocator = ma.maxAllocator; +test { + _ = ma; +} |